private void CaptureStop() { if (_camera.VideoChannel == null) { return; } _connector.Disconnect(_camera.VideoChannel, _recorder.VideoRecorder); _recorder.Multiplex(); }
private void StopCapture_Click(object sender, RoutedEventArgs e) { if (_videoSender == null) { return; } _connector.Disconnect(_videoSender, _recorder.VideoRecorder); _recorder.Multiplex(); }
private void StopVideoCapture4() { if (_mpeg4Recorder4 != null) { _mpeg4Recorder4.Multiplex(); _connector4.Disconnect(_camera4.AudioChannel, _mpeg4Recorder4.AudioRecorder); _connector4.Disconnect(_camera4.VideoChannel, _mpeg4Recorder4.VideoRecorder); } }
private void stopVideoCapture() { if (_mpeg4Recorder != null) { _mpeg4Recorder.Multiplex(); _connector.Disconnect(_camera.AudioChannel, _mpeg4Recorder.AudioRecorder); _connector.Disconnect(_camera.VideoChannel, _mpeg4Recorder.VideoRecorder); } }
private void StopVideoCapture3() { if (_mpeg4Recorder3 != null) { _mpeg4Recorder3.Multiplex(); _connector3.Disconnect(_camera3.AudioChannel, _mpeg4Recorder3.AudioRecorder); _connector3.Disconnect(_camera3.VideoChannel, _mpeg4Recorder3.VideoRecorder); } }
private void StopVideoCapture2() { if (_mpeg4Recorder2 != null) { _mpeg4Recorder2.Multiplex(); _connector2.Disconnect(_camera2.AudioChannel, _mpeg4Recorder2.AudioRecorder); _connector2.Disconnect(_camera2.VideoChannel, _mpeg4Recorder2.VideoRecorder); } }
private void StopVideoCapture1() { if (_mpeg4Recorder1 != null) { _mpeg4Recorder1.Multiplex(); _connector1.Disconnect(_camera1.AudioChannel, _mpeg4Recorder1.AudioRecorder); _connector1.Disconnect(_camera1.VideoChannel, _mpeg4Recorder1.VideoRecorder); } }
public void StopRecording() { if (_videoSender == null) { return; } _connector.Disconnect(_videoSender, _recorder.VideoRecorder); _recorder.Multiplex(); VideoFilesManager.CheckMemoryLimitForAllVideos(_configuration.VideosFolderPath); }
private void bunifuFlatButton3_Click(object sender, EventArgs e) { try { if (_mjpegConnection1 == null || _mpeg4Recorder1 == null) { return; } _mpeg4Recorder1.Multiplex(); _connector1.Disconnect(_mjpegConnection1.AudioChannel, _mpeg4Recorder1.AudioRecorder); _connector1.Disconnect(_mjpegConnection1.VideoChannel, _mpeg4Recorder1.VideoRecorder); MessageBox.Show("Stop video recording"); } catch (Exception ex) { Console.WriteLine(ex.Message); MessageBox.Show("Please enter IP, Username and Password !"); } }