[Red5] org.red5.server.messaging.InMemoryPushPushPipe.error
Homero Thomsom
homerothomsom at gmail.com
Thu Oct 19 23:06:20 EDT 2006
Ok, thanks for your reply!!!
The Trunk version is only downloadable from SVN ???
On 10/19/06, Steven Gong <steven.gong at gmail.com> wrote:
>
> Seems like it's a bug that has been fixed on trunk.
>
> On 10/20/06, Homero Thomsom <homerothomsom at gmail.com > wrote:
>
> > Hello, I do not speak very well English, so I am going to try to be
> > clear.
> >
> > I Attempt that a SWF reproduces a FLV file.
> > The FLV file is generated in a Server who has Red5 doing Streaming.
> > That I attempt is that the FLV are emitted from the Server towards the
> > client.
> >
> > The error which I obtain when doing this is the following:
> >
> > [INFO] 1132453 IoWorker-4:( org.red5.io.flv.impl.FLV.info ) File size:
> > 102508
> > [DEBUG] 1132453 IoWorker-4:(
> > org.red5.server.adapter.ApplicationAdapter.debug ) appConnect:
> > RTMPMinaConnection from 127.0.0.1:1542 to localhost (in: 3490, out:
> > 3073)
> > [DEBUG] 1132453 IoWorker-4:(
> > org.red5.server.adapter.ApplicationAdapter.debug ) appJoin: Client: 5 >>
> > [ WebScope at eaf40c Depth = 1, Path = '/default', Name = 'oflaDemo']
> >
> > [ERROR] 1133469 DefaultQuartzScheduler_Worker-9:(
> > 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)
> >
> >
> > I attach the main fragments of client and Server code.
> >
> > Thank you very much.
> > Homero, from Buenos Aires, Argentina.
> >
> >
> >
> >
> > --------------------------------------------------------------------------------------------------------------------------------
> > SERVER CODE
> > --------------------------------------------------------------------------------------------------------------------------------
> >
> >
> >
> > @Override
> > public boolean appConnect(IConnection conn, Object[] params)
> > {
> > if (appScope == conn.getScope())
> > {
> > serverStream = StreamUtils.createServerStream (appScope,
> > "live0");
> > SimplePlayItem item = new SimplePlayItem();
> > item.setStart(0);
> > item.setLength(10);
> > item.setName("Cam01_20061014205102171");
> > //Cam01_20061014205102171 is the FLV file
> > serverStream.addItem(item);
> > serverStream.setRepeat(true);
> > serverStream.start();
> > }
> >
> > return super.appConnect(conn, params);
> > }
> >
> >
> >
> >
> >
> > --------------------------------------------------------------------------------------------------------------------------------
> > CLIENT CODE
> >
> > --------------------------------------------------------------------------------------------------------------------------------
> >
> >
> >
> > var nc:NetConnection;
> > var ns:NetStream = null;
> >
> >
> > connect()
> >
> > function connect():Boolean
> > {
> > this.nc = new NetConnection();
> > this.nc.onStatus = Delegate.create (this, this.ncOnStatus);
> > var connected:Boolean = this.nc.connect("rtmp://localhost/ModifOflaDemo");
> >
> >
> > return connected;
> > }
> >
> >
> >
> >
> > function ncOnStatus(obj:Object):Void
> > {
> >
> > if(obj.code == "NetConnection.Connect.Success")
> > {
> > this.videoContainer._width = vidWidth;
> > this.videoContainer._height = vidHeight;
> >
> >
> > this.ns = new NetStream( this.nc);
> > this.ns.onStatus = Delegate.create(this, this.nsOnStatus);
> > this.ns.onMetaData = Delegate.create (this, this.onMetaData);
> >
> >
> > this.ns.setBufferTime (5);
> > this.videoContainer.attachVideo(this.ns);
> >
> > ns.play("live0", -1);
> > }
> > }
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Red5 mailing list
> > Red5 at osflash.org
> > http://osflash.org/mailman/listinfo/red5_osflash.org
> >
> >
> >
>
>
> --
> I cannot tell why this heart languishes in silence. It is for small needs
> it never asks, or knows or remembers. -- Tagore
>
> Best Regards
> Steven Gong
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20061020/38359bc9/attachment.htm
More information about the Red5
mailing list