Hi,

I'm wondering what is the best way to save a parameter that a client passes to the appConnect method for use in a function later such as IStreamAwareScopeHandler#streamBroadcastStart. For example, I would need to accept a password from the client in the connect and then check it when they try to start broadcasting to verify it's valid. I would think the persistence API would be kind of overkill for something like this. After glancing at the API a little is IConnection#setAttribute something that's usable to store data about a single connection?

Thanks!

--Dan--




On Aug 29, 2006, at 8:03 PM, Michael Klishin wrote:


Hi Daniel,

You can intercept the stream with IStreamAwareScopeHandler interface
handlers. Just make your ApplicationAdapter implementing it.

Then use IBroadcastStream#getPublishedName() and act accordingly.

-- 
Michael 'Antares' Klishin

novemberain.com | osflash.org/red5 | rubyonrails.ru | flex.org


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

Reply via email to