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

                _videoCapturerStopped = true;
            });
        }
 public void StopCapture() => _videoCapturer.StopCapture();