Skip to main content
Jan 26, 2011 3:18 PM UTC
Question

What stream(s) is serving the application?

Hi everybody,

When a client connects to an application (nc.connect) this is catched at server side using application.onConnect; so, when the client asks for a stream (ns.play) ... does this have some correspondence at server side ? Can we catch this event in some way?

Or, seen from another point of view: is there any way, from within an application, to know what stream(s) the application is serving  ? I mean, if we want the list of connected clients we have the application.clients array; is there any correspondence from streams ?

Thanks in  advance 🙂

    This topic is closed to new replies. Start a new post to keep the conversation going.

    2 replies

    Participating Frequently
    Jan 26, 2011 3:42 PM UTC

    There is nothing exactly similar like application.onConnect or  applications.clients array for streams. Either you can use admin API commands like getLiveStreams,getLiveStreamsStats & other available commands : http://help.adobe.com/en_US/flashmediaserver/adminapi/WSa4cb07693d12388431df580a12a34991ebc-8000.html    You cal also use authorization plug-in to intercept netstream play events and then use that information as per your requirements

    Translate
    Feb 4, 2011 1:54 PM UTC

    Ok, I hoped for a simpler solution but if this is the way ... will do it :-) Thank you !

    Translate