ec.register_connection(server, node1)
# Register client
-command = ("sudo -S dbus-uuidgen --ensure; sleep 3; "
- "vlc -I dummy rtp://%s:5004/%s "
- "--sout '#std{access=file,mux=ts,dst=VIDEO}'") % \
- (hostname2, video)
-
# Note: is important to add the -d option in nc command to not attempt to read from the
# stdin
# if not nc in the client side close the socket suddently if runned in background