gig_record: restart the recorder alone when its input clock breaks
After a suspend the pulse input stepped back ~2 h and ffmpeg never exited, so nothing restarted it. A guard inside the recorder's own unit watches the log for the Non-monotonic DTS line (zero in a healthy recorder) and restarts the recorder, at most once per 120 s so it cannot flap.
Showing
tools/tests/test_gig_record_clock_guard.py
0 → 100644
Please
register
or
sign in
to comment