示例#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);
        }