Jump to content
  • 0

Get WebRTC Viewers count for cluster

Pavel Tsukanov



I have a aws cluster (based on https://github.com/ant-media/Ant-Media-Server/wiki/Scaling-with-AWS) and i could not get correct viewer count using
/rest/v2/broadcasts/{stream}/broadcast-statistics  method
If i query Origin server using this method then i get 2 in totalWebRTCWatchersCount (i guess because I have 2 Adaptive Streams)
If i query Edge server using this method then i get correct  viewer count. But cluster can have multi edge servers and as I understand my query will return viewers from a certain edge server and will not return summary viewers count for all edge servers.

How should i get WebRTC Viewers count for cluster with multi edge servers?

Thank you

Link to comment
Share on other sites

  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

2 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...