Dan Rossi wrote:
Apologies i cleaned it up a little and went back to my previous version, here is the output it keeps looping the invocation. [INFO] 89324 IoWorker-1:( CamApplication.info ) Received result null for onBroadcast [INFO] 89327 IoWorker-1:( RTMPHandler.info ) call: Service: null Method: closeStream Num Params: 0 [INFO] 89328 IoWorker-1:( RTMPHandler.info ) --closeStream [INFO] 89330 IoWorker-1:( RTMPHandler.info ) call: Service: null Method: play Num Params: 10: livecam [INFO] 89331 IoWorker-1:( RTMPHandler.info ) --play [INFO] 89334 IoWorker-1:( CamApplication.info ) Connecting to live stream: livecam [INFO] 89337 IoWorker-1:( CamApplication.info ) sending notification to RTMPMinaConnection from 192.168.1.4:1169 to 192.168.1.3 (in: 12856, out: 73560) [INFO] 89342 IoWorker-1:( CamApplication.info ) Received result null for onBroadcast [INFO] 89345 IoWorker-1:( RTMPHandler.info ) call: Service: null Method: closeStream Num Params: 0 [INFO] 89346 IoWorker-1:( RTMPHandler.info ) --closeStream [INFO] 89355 IoWorker-1:( RTMPHandler.info ) call: Service: null Method: play Num Params: 10: livecam [INFO] 89356 IoWorker-1:( RTMPHandler.info ) --play [INFO] 89361 IoWorker-1:( CamApplication.info ) Connecting to live stream: livecam [INFO] 89363 IoWorker-1:( CamApplication.info ) sending notification to RTMPMinaConnection from 192.168.1.4:1169 to 192.168.1.3 (in: 12856, out: 73951) [INFO] 89370 IoWorker-1:( CamApplication.info ) Received result null for onBroadcast [INFO] 89371 IoWorker-1:( RTMPHandler.info ) call: Service: null Method: closeStream Num Params: 0 [INFO] 89372 IoWorker-1:( RTMPHandler.info ) --closeStream [INFO] 89387 IoWorker-1:( RTMPHandler.info ) call: Service: null Method: play Num Params: 10: livecam [INFO] 89388 IoWorker-1:( RTMPHandler.info ) --play [INFO] 89390 IoWorker-1:( CamApplication.info ) Connecting to live stream: livecam [INFO] 89393 IoWorker-1:( CamApplication.info ) sending notification to RTMPMinaConnection from 192.168.1.4:1169 to 192.168.1.3 (in: 12948, out: 74342) [INFO] 89401 IoWorker-1:( CamApplication.info ) Received result null for onBroadcast [INFO] 89417 IoWorker-5:( RTMPConnection.info ) StreamBytesRead: 4884553 [INFO] 89672 IoWorker-1:( RTMPHandler.info ) call: Service: null Method: closeStream Num Params: 0 [INFO] 89673 IoWorker-1:( RTMPHandler.info ) --closeStream [INFO] 89739 IoWorker-1:( RTMPHandler.info ) call: Service: null Method: play Num Params: 10: livecam [INFO] 89740 IoWorker-1:( RTMPHandler.info ) --play [INFO] 89744 IoWorker-1:( CamApplication.info ) Connecting to live stream: livecam [INFO] 89747 IoWorker-1:( CamApplication.info ) sending notification to RTMPMinaConnection from 192.168.1.4:1169 to 192.168.1.3 (in: 13040, out: 74733) [INFO] 89759 IoWorker-1:( CamApplication.info ) Received result null for onBroadcast [INFO] 89763 IoWorker-1:( RTMPHandler.info ) call: Service: null Method: closeStream Num Params: 0 [INFO] 89764 IoWorker-1:( RTMPHandler.info ) --closeStream [INFO] 89766 IoWorker-1:( RTMPHandler.info ) call: Service: null Method: play Num Params: 10: livecam [INFO] 89768 IoWorker-1:( RTMPHandler.info ) --play [INFO] 89784 IoWorker-1:( CamApplication.info ) Connecting to live stream: livecam [INFO] 89786 IoWorker-1:( CamApplication.info ) sending notification to RTMPMinaConnection from public void streamSubscriberStart(ISubscriberStream stream) { IConnection current = Red5.getConnectionLocal(); Object[] streams = getStreams().toArray(); if (streams.length > 0) { String streamName = streams[0].toString(); if (hasBroadcastStream(current.getScope(), streams[0].toString())) { log.info("Connecting to live stream: " + streamName); if (current instanceof IServiceCapableConnection) { ((IServiceCapableConnection) current).invoke("onBroadcast", new Object[]{streamName}, this); log.info("sending notification to "+current); } } } } |
_______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
