Jump to content
  • 0

Get WebRTC Viewers count for cluster


Pavel Tsukanov
 Share

Question

Hi

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
Pavel

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

 Share

×
×
  • Create New...