Could you please explain why you do not want to add this feature, because it probably takes just a few lines of code to add this function.
Code: Select all
Button restartRecording(window, text = language["RECORDING_BUTTON_RESTART"], row = 4, column = 1);
widgets.push_back(restartRecording);
void onClickRestartRecording() {
recordingSession.abort();
while (recording.isRunning()) {
wait(10);
}
recordingSession.begin();
}
At least that's what I'd expect, I might be wrong though.
Maybe you just don't want to add this but it would be useful for a bunch of reasons.
--EDIT--
I no longer see why the file should be saved before recording, because the main reason for this function would be to quickly restart a recording when the recording doesn't go along with your likes
Nevertheless I wish you a nice day and best regards,
--Zuzu_Typ--