Hi Steven, I already add the live stream to the playlist after the live stream is published.. but it doesn't work (with 0.6rc2).
With 0.6final while playing the VOD stream from the playlist the audio is there but the video looks like some snapshots :/ you can't even call it video, it looked MUCH better with 0.6rc2. (adding the live stream to the playlist doesn't work on 0.6final) There are also some problems when broadcastig from Flex - the video is also crappy... Any idea why? ----- Original Message ----- From: Steven Gong To: [email protected] Sent: Thursday, May 03, 2007 2:06 PM Subject: Re: [Red5] adding a live stream to the PlayList (on theserver-side) - how?? stf, I think you'd better add the live stream when it's been published. To achieve that, you can put the serverStream.addItem() call in streamPublishStart() callback from IStreamAwareScopeHandler. This interface can be implemented by your Application class. On 5/3/07, Stanislaw Fiedor <[EMAIL PROTECTED]> wrote: 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 -- 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 [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
_______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
