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); }
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); }
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); }