Fix unwanted delay between recordings if the recording is split by time or size

This commit is contained in:
0xb00bface 2023-06-17 16:11:43 +02:00
parent 5b688e4cbe
commit 0aeeb1a1c3
1 changed files with 2 additions and 1 deletions

View File

@ -139,6 +139,7 @@ public class SimplifiedLocalRecorder implements Recorder {
return;
}
submitPostProcessingJob(recording);
tryRestartRecording(recording.getModel());
}
} else {
recordings.add(recording);
@ -161,7 +162,7 @@ public class SimplifiedLocalRecorder implements Recorder {
return;
}
submitPostProcessingJob(recording);
startRecordingProcess(recording.getModel());
tryRestartRecording(recording.getModel());
}
private void scheduleRecording(Recording recording, long delayInMillis) {