AgoraIO / Basic-Video-Broadcasting

Sample app to join/leave a channel, set the role as a host/audience, mute/unmute, switch between front/rear cameras, and set the video parameters.
MIT License
269 stars 287 forks source link

Get Channel count #126

Open Darshan-Sonigara opened 3 years ago

Darshan-Sonigara commented 3 years ago

How to get user joined channel count?

Thanks in advance

yoreland commented 3 years ago

Can you provide more infos about your scenario? Where is the place to collect this info and what is the frequency, etc. If you are just using rtcChannel Object to join multiple channel, it is easily control locally.

sarmabkp commented 3 years ago

Ho do I know how many audience joined in broadcasting? I mean somewhere we should show the count like participants (100 people are there in conference) like that

plutoless commented 3 years ago

@sarmabkp currently agora sdk is not providing join/leave events for audience. if you need to count this you will need to create a server and websocket connection yourself so that your server can collect it

sarmabkp commented 3 years ago

Thanks a lot @plutoless for clarification. We are bit confused on how to create a server and websocket connection to get the count. Can you please help us to implement from your side? If not, can you please guide us on how to do? my skype id: sarma.bkp Please ping me whenever you are free.

plutoless commented 3 years ago

@sarmabkp the easiest way is to use socket.io https://socket.io/