Hi All
I am trying to create a streaming video player using red5.I am stuck with
SimplePlayItem.
I don't know, how to load a flv on server side.
Also, what should be inside ns.play(_____) on the client side where ns is
netStream Variable.
I am using this code on the server side to play item:
if(appScope == conn.getScope())
{
streamer = StreamUtils.createServerStream(appScope, "Stream");
SimplePlayItem item = new SimplePlayItem();
item.setStart(0);
item.setLength(100000);
item.setName("Transformers");
streamer.addItem(item);
streamer.start();
}
I took this code directly from oflademo but I can't understand where
Transformers.flv is mentioned which I want to load.
_________________________________________________________________________________________________________________
On the client side I have used
ns.play("rtmp://localhost/myStreamer/Transformers.flv") //
also used http in place of rtmp
But this on console window shows
NetStream.play.Reset
NetStream.play.Start
But video does not play.
Please help me out
Abhishek
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org