Agora-Flutter-SDK
Agora-Flutter-SDK copied to clipboard
Change Role from Guest to Host
Describe the bug
- New host unable to broadcast. Is it necessary to leave the channel and re-join again to publish as the Broadcaster like JS example provided?
To Reproduce Steps to reproduce the behavior:
- User A starts the streaming with role Broadcaster.
- Now User B joins. User A made user B the host.
- User B calls
await _engine.enableLocalAudio(true); await _engine.enableLocalVideo(true); await _engine.enableVideo(); await _engine.startPreview(); await _engine.setClientRole(ClientRole.Broadcaster);
Expected behavior User B should be able to send his stream to all the users
Smartphone (please complete the following information):
- Device: Motorola
- OS: 7.1.1
- agora_rtc_engine: ^4.2.0
- agora_rtm: ^1.0.1
try setClientRole first before all other apis
Not working @plutoless
If you still face this issue, please try upgrading to the latest version to see if it works or not.
I will re-open if I will get this issue again
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.