public void StopVideoSource() { _executor.Execute(() => { if (_videoCapturer != null && !_videoCapturerStopped) { _logger.Debug(TAG, "Stop video source."); _videoCapturer.StopCapture(); } _videoCapturerStopped = true; }); }
public void StopCapture() => _videoCapturer.StopCapture();