• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Accessing per stream information in application

New Here ,
Jun 25, 2009 Jun 25, 2009

Copy link to clipboard

Copied

I'm using a modified version of the /live application to deliver multiple audio streams to a client base. So users connect to:

rtmp://servername/live

And specify which stream the want - stationA, stationB etc.

I have a requirement to collect information on how many users are connected to which stream every X minutes.

I have built a web service that the data can be sent to and can send data from within the apllication to this but I am having difficulty finding where, in the application, details of which client is connected to which streams is available.

Can anyone assist?

Thanks, Matt.

Views

648

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Jun 29, 2009 Jun 29, 2009

You can use Admin API commands "getLiveStreams" and "getLiveStreamStats". You can see how thye are used in "...administrationAPI.pdf" which you will find in documentation folder in your installed directory. Basically issue "getLiveStreams" with appInst paramater as "live" (your modified live application) - this will give you list of streams being played. Now iterate through all streams and issue "getLiveStreamStats" on each of the streams - This will give you list of susbscribers and time at whi

...

Votes

Translate

Translate
Adobe Employee ,
Jun 29, 2009 Jun 29, 2009

Copy link to clipboard

Copied

You can use Admin API commands "getLiveStreams" and "getLiveStreamStats". You can see how thye are used in "...administrationAPI.pdf" which you will find in documentation folder in your installed directory. Basically issue "getLiveStreams" with appInst paramater as "live" (your modified live application) - this will give you list of streams being played. Now iterate through all streams and issue "getLiveStreamStats" on each of the streams - This will give you list of susbscribers and time at which they started subscribing.

Let me know if you have more queries.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 29, 2009 Jun 29, 2009

Copy link to clipboard

Copied

Thanks mate - that's exactly what I needed. Marked as correct.

I can rattle through each stream and identify the number of clients perfectly now.

There are beers with your name on if you're anywhere near London

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jun 29, 2009 Jun 29, 2009

Copy link to clipboard

Copied

LATEST

You are most welcome

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines