Skip to main content
January 26, 2011
Question

What stream(s) is serving the application?

  • January 26, 2011
  • 1 reply
  • 509 views

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 has been closed for replies.

    1 reply

    Participating Frequently
    January 26, 2011

    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

    February 4, 2011

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