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

Example of how to show number of users watching an event/application.

Community Beginner ,
Aug 27, 2013 Aug 27, 2013

Copy link to clipboard

Copied

Is there some example code of how to display the number of users currently watching a live event?

I've tried using the admin api methods getUsers, etc... But it only returns one client connection which is my encoder connected pushing the live stream to the server. It nevers seems to return any client/user connections. Is this because the client is connecting via http instead of rtmp?

my code snippet to view the stream. Show I change the protocol to RTMP?

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="512"  height="288" align="middle">

<param name="movie" value="StrobeMediaPlayback.swf"></param>

<param name="FlashVars" value="src=http://fms.dave.net/livesports.f4m&poster=posters/poster.jpg&autoPlay=false&playButtonOverlay=true"></param>

<param name="allowFullScreen" value="true"></param>

<param name="allowscriptaccess" value="always"></param>

<embed src="StrobeMediaPlayback.swf" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true"width="512" height="288"

  FlashVars="src=http://fms.dave.net/livesports.f4m&poster=posters/poster.jpg&autoPlay=false&playButtonOverlay=true">

</embed>

</object>

Thanks,

Dave

Views

628

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
Enthusiast ,
Aug 27, 2013 Aug 27, 2013

Copy link to clipboard

Copied

LATEST

Hello, yes, this is because it's an http stream. Check this out - http://forums.adobe.com/message/5266859

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