Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flvrec.py won't stop when remote host is down. #2

Open
websafe opened this issue Jan 27, 2017 · 2 comments
Open

flvrec.py won't stop when remote host is down. #2

websafe opened this issue Jan 27, 2017 · 2 comments

Comments

@websafe
Copy link

websafe commented Jan 27, 2017

flvrec.py won't stop recording when the remote VNC host is turned off.
After shutting down the remote host flvrec.py is still recording and the flv file
is growing, but nothing is recorded. When the remote host is up again,
flvrec.py won't reconnect automatically, because it's still recording... nothing
from the last session :-)

Expected behavior:

  1. stop recording and exit flvrec.py when the remote host is not "broadcasting"

or

  1. wait until the remote host is up again then reconnect and continue recording.

Or is there a way around this?

Update: I've found a way around using Bash + -S, I'm currently testing,
I'll let you know if it works as expected.

@muthurajbharathi
Copy link

hi i am getting an error 'Socket error: [Errno 111] Connection refused
stop recording ' is it because at VNC server is not up ?

@websafe
Copy link
Author

websafe commented Feb 1, 2017

I'm getting the same when I run flvrec pointing to a VNC server that is already down. But try this scenario:

  1. Start a VNC server on a remote machine.
  2. Start recording using flvrec.py
  3. Shutdown the remote machine.

In my case flvrec is still recording and the resulting flv file is growing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants