pass
def _write(self, message):
+
+ logger = logging.getLogger("VlcClient_write")
+
# Return if in the middle of destroying
if self._shuttingDown.isSet():
return
try:
# Write message
- print 'VLC command:',message
+ logger.debug('VLC command:',message)
self._socket.write(message + "\r\n")
except EOFError as e:
raise VlcException("Vlc Write error! ERROR: " + repr(e))
logger.debug("Broadcast stopped")
def startBroadcast(self, stream_name, input, muxer='ts', pre_access='', qtype='default'):
- print "Starting broadcast......"
+ logger.debig("Starting broadcast......")
return self._broadcast(True, stream_name, input, muxer, pre_access, qtype)
def stopBroadcast(self, stream_name):