Пример #1
0
        public void Start()
        {
            Logger.Info("");

            // Start demuxer before client. Demuxer start clears
            // underlying buffer. We do not want that to happen after client
            // puts something in there.
            demuxerController.StartForEs();

            // start RTSP client
            rtspClient.Start(currentClip);
        }
Пример #2
0
        public void Start()
        {
            if (rtpClient == null)
            {
                return;
            }

            // Start demuxer before client. Demuxer start clears
            // underlying buffer. We do not want that to happen after client
            // puts something in there.
            demuxerController.StartForEs();
            rtpClient.Start(currentClip);
        }
Пример #3
0
        public void Start()
        {
            if (rtspClient == null)
            {
                return;
            }

            // Start demuxer before client. Demuxer start clears
            // underlying buffer. We do not want that to happen after client
            // puts something in there.
            demuxerController.StartForEs();

            // start RTSP client
            _startCancellationTokenSource = new CancellationTokenSource();
            _startCancellationTokenSource.CancelAfter(ConnectionTimeout);
            rtspClient.Start(currentClip, _startCancellationTokenSource.Token);
        }