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.
Currently, the app is hardcoded to capture only for 10 seconds when you click the capture video menu item from the system tray:
screenclip/src-tauri/src/main.rs
Line 65 in 3d730cc
Instead, video capture should begin after a certain keypress, and continue capturing until the same key is pressed again.