Dan Rossi wrote:
I got these errors aswell, and the video became an array of pixelated
colors until i restarted the server, it happened when i tried to make
it buffer for 2 seconds initially.
[ERROR] 33915 DefaultQuartzScheduler_Worker-5:(
org.red5.server.messaging.InMemoryPushPushPipe.error ) exception when
pushing message to consumer
java.lang.NullPointerException
at
org.red5.server.stream.VideoFrameDropper.canSendPacket(VideoFrameDropper.java:127)
at
org.red5.server.stream.PlaylistSubscriberStream$PlayEngine.pushMessage(PlaylistSubscriberStream.java:1105)
at
org.red5.server.messaging.InMemoryPushPushPipe.pushMessage(InMemoryPushPushPipe.java:67)
at
org.red5.server.stream.ServerStream$2.execute(ServerStream.java:408)
at
org.red5.server.scheduling.QuartzSchedulingServiceJob.execute(QuartzSchedulingServiceJob.java:42)
at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
Apoligies, it seems i needed to add the bandwidth limiter like with the
oflaDemo, now it plays fine, there may still be the buffer problem
though, i only got it empty once, but it shouldnt be emptying at all
should it, im viewing on localhost.
if (conn instanceof IStreamCapableConnection) {
IStreamCapableConnection streamConn =
(IStreamCapableConnection) conn;
SimpleBandwidthConfigure sbc = new
SimpleBandwidthConfigure();
sbc.setMaxBurst(8*1024*1024);
sbc.setBurst(8*1024*1024);
sbc.setOverallBandwidth(2*1024*1024);
streamConn.setBandwidthConfigure(sbc);
}
is there a full explanation how this works ?
|
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org