AgoraIO-Extensions / Agora-Flutter-SDK

Flutter plugin of Agora RTC SDK for Android/iOS/macOS/Windows

Home Page:https://pub.dev/packages/agora_rtc_engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Audience count

QL-Nisha-Rana opened this issue · comments

How do I get the audience count which are active to show on app to everyone? Is there any callback for that?

I think you can count it in the onUserJoined callback.

It only gives callback for the users joined as a broadcaster, not for the users who joined as the Audience. Actually, we need to get the callback for audience count. Is there any way to get the audience count at audience side as well?

I think you should maintain this state(audience count) in your server, or use the Agora RTM SDK to achieve it, there's no built-in callback for this in the RTC SDK.

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. If you find this problem please file a new issue with the same description, what happens, logs and the output. All system setups can be slightly different so it's always better to open new issues and reference the related ones. Thanks for your contribution.

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please raise a new issue.