electroteque wrote:

> Its been brought to my attention that we'd need to have a pre-roll 
> feature to preview the live feed before it actually goes live. Ive 
> noticed u can send messages via the connect method, is there a way to 
> tell an application if the broadcatser is previewing or going live and 
> then also notify the client end to either get the live feed or a VOD 
> trailer. Thats the idea anyway.

Override these methods in your application:

streamBroadcastStart -- called when live stream is being opened but not 
yet published.

streamPublishStart -- called when live stream is being actually 
published, i.e. after first packed has been revieved

and so forth in IStreamAwareScopeHandler interface

So you can intercept broadcasting stream to pre-moderate it with 
streamBroadcastStart and then notify all clients as shown in FITC Demo 
application that comes with Red5.

I actually don't know what's the best way to create a preview for 
stream, me personally use 1-FPS streams from clients for this sake but 
it's not 100% safe as far as SWF can be decompiled. It would be 
interesting to hear what Joachim, Luke or Steven have to say here :)

-- 
Michael "Antares" Klishin,

http://www.novemberain.com |  mailto:[EMAIL PROTECTED]

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

Reply via email to