Skip to main content

finalize_on_exit

Function finalize_on_exit 

Source
pub fn finalize_on_exit()
Expand description

Finalize any active recording at interpreter shutdown so the MP4’s last buffered sample is flushed. Best-effort; the fragmented layout keeps even an unflushed file playable.