コード例 #1
0
        /// <summary>
        /// Notifies subscribers on pause.
        /// </summary>
        /// <param name="item">Item that just has been paused.</param>
        /// <param name="position">Playback head position.</param>
        internal void NotifyItemPause(IPlayItem item, int position)
        {
            IStreamAwareScopeHandler handler = GetStreamAwareHandler();

            if (handler != null)
            {
                try {
                    handler.StreamPlaylistVODItemPause(this, item, position);
                } catch (Exception ex) {
                    log.Error("Error notify streamPlaylistVODItemPause", ex);
                }
            }
        }