Hi!
I need to add a live stream (that is not being recorded) to a playlist on
the server-side - but there is a problem with it..
When it comes to prerecorded streams there is no problem when I do it like
that:
serverStream = StreamUtils.createServerStream(appScope, "live0");
SimplePlayItem item = new SimplePlayItem();
item.setStart(0);
item.setLength(10000);
item.setName("on2_flash8_w_audio");
serverStream.addItem(item);
.......
item = new SimplePlayItem();
item.setStart(20000);
item.setLength(10000);
item.setName("on2_flash8_w_audio");
serverStream.addItem(item);
serverStream.start();
But if I try to add a live stream:
item = new SimplePlayItem();
//item.setStart(20000);
//item.setLength(10000);
item.setName("the_name_of_the_live_stream_which_is_the_same_as_the_publish_name_of_the_stream");
serverStream.addItem(item);
Then red5 can't find the stream and doesn't add it to the playlist.
But if i publish the live stream and record it then it works.
Of course I would like to add the stream also when it's not being recorded.
So if you know how to manage it I would be very thankful for your help.
(It is very urgent :/)
Best Regards
stf
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org