Simplify and avoid running a thread and an interval timer when there is no video output.
Attach a file by drag & drop or click to upload