AgoraIO-Extensions / Agora-Flutter-SDK

Flutter plugin of Agora RTC SDK for Android/iOS/macOS/Windows
https://pub.dev/packages/agora_rtc_engine
MIT License
724 stars 380 forks source link

setAudioProfile effected all Users #453

Closed nizwar closed 2 years ago

nizwar commented 2 years ago

2 users want to join a channel with different AudioProfile

///USER 1
await rtc.setAudioProfile(AudioProfile.SpeechStandard, AudioScenario.GameStreaming);
///USER 2
await rtc.setAudioProfile(AudioProfile.MusicHighQualityStereo, AudioScenario.GameStreaming);

When user 2 (High) switch the role as broadcaster, all audience will hear HighQuality, when user 1 (Low) switch the role as broadcaster, the quality will effected to all audience and they will heard Low Quality audio (User 2 still broadcaster), but if user 1 switch to audience, the quality will be back to HighQuality.

any hack around to make it only effected by spesific user?, i mean it must be spesific like user 1 will be hear Low quality and user 2 will be hear High quality without effected all user's quality

LichKing-2234 commented 2 years ago

could you pls provide the SDK log?

LichKing-2234 commented 2 years ago

btw, our SDK should keep all user using same audio profile.

nizwar commented 2 years ago

So it doesn't set the audio profile only for certain users? but it set the channel's audio profile no matter who trigger it? if it so you can close this issue, thanks

github-actions[bot] commented 1 year ago

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.