ankermake-m5-protocol
ankermake-m5-protocol copied to clipboard
pppp capture-video should have timeout if no data is coming from the printer
Describe the bug
When I run
python3 ankerctl.py -p 1 pppp capture-video -m 1m output.mp4
and the printer is offline, or not in same network than the ankerctl, the command should time out after suitable timeout.
To Reproduce
Turn off the printer run
python3 ankerctl.py pppp capture-video -m 1m output.mp4
and notice that it will never timeout.
Expected behavior
It should time out after a minute or so, perhaps there should be option to specify the timeouts (perhaps even generic ankerctl top level option, or separate option for pppp capture-video).