Hi,

 

So I made it like this:

 

          IServerStream serverStream = StreamUtils.createServerStream(scope, "tv");

           

            SimplePlayItem item = new SimplePlayItem();

            item.setStart(0);

            item.setLength(286000);

            item.setName("one");

            serverStream.addItem(item);

            item = new SimplePlayItem();

            System.out.println(item.getLength());

            item.setStart(286000);

            item.setLength(275000);

            item.setName("two");

            serverStream.addItem(item);

            serverStream.setRepeat(true);

            serverStream.start();

 

It works, but it’s very slow – CPU is OK, Memory is OK (that means I have still enough more), but it’s haggling (cutting) – like low FPS.

I am using branch 0.5RC1.

 

Another question is about this:

item.setStart(286000);

item.setLength(275000);

 

Is it possible to make it somehow automatically? Not to enter those values.

 

And the final question is – how to make LOOP. That means, when the last stream finishes, the first one begins.

 

Thank you for any suggestion

 

Tom

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Krcha
Sent: Sunday, July 23, 2006 7:08 PM
To: [email protected]
Subject: [Red5] Creating TV

 

Hi devs,

 

Is it already possible to handle streams? So you can create one live stream, which is created from „n“ flvs?

 

User connects to server and see one stream, which in same possition for every subscriber – same system like TV.

 

Thanks a lot

 

Tom

 

PS: tutorial in Migration guide would be best – thanks Joachim

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to