public void startRecording() { Session.currentTest.addNewRecording(user); Session.dataRecorder.setRecordingPaths(false); Session.dataRecorder.startRecording(); WebcamViewer.StartRecording(); startts = _mainWindow.stopwatch.ElapsedMilliseconds; ustartts = (Int32)(DateTime.UtcNow.Subtract(new DateTime(1970, 1, 1))).TotalSeconds; //recordingStarted(); }
private void StartRecordingButton_Click(object sender, RoutedEventArgs e) { // Start recording of webcam video to harddisk. WebcamViewer.StartRecording(); }