Currently, the app is hardcoded to capture only for 10 seconds when you click the capture video menu item from the system tray:
|
while Instant::now() - start_time < Duration::from_secs(10) { |
Instead, video capture should begin after a certain keypress, and continue capturing until the same key is pressed again.