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

Music Stereo didn't work except AudioScenario.GameStreaming #398

Closed nizwar closed 9 months ago

nizwar commented 3 years ago

I've tried using different scenario from the docs https://docs.agora.io/en/Video/audio_profile_android?platform=Android#parameters-and-applications

it seems like only AudioScenario.GameStreaming work with Stereo Music. All i need is using Podcast scenario that was written on the doc, but music stereo didn't work to remote users

Current code

await rtc.setAudioProfile(AudioProfile.MusicHighQualityStereo, AudioScenario.GameStreaming);

Expected scenario

///Written as podcast application's scenario
await rtc.setAudioProfile(AudioProfile.MusicHighQualityStereo, AudioScenario.ShowRoom);

The problem i encounter and what i want is

  1. i want host's music sounds from agora is higher than another application, because for now another app's voices catched within agora, i have to prevent this for privacy reason, and i need this like external app sounds that reduced on phone call, or something like that, and it seems like it would work with in-call volume as written here https://docs.agora.io/en/Video/audio_profile_android?platform=Android#considerations
  2. GameStreaming voice input was from phone mic even when i switch using airpods or wireless headphone, it working well with ShowRoom instead

i believe one of these is what i need Screen Shot 2021-08-25 at 14 49 17

But unfortunately only GameStreaming (Media Volume) work with Stereo quality, and other application sound's same as Agora Music, and made the apps voices heard by remote user, also the second reason about wireless headphone mic input

LichKing-2234 commented 3 years ago

I think you can use AudioScenario.GameStreaming.

nizwar commented 3 years ago

Yes, GameStreaming is what i need, but i want to prevent other app's voices came through the mic and get heard by other users, do you have any solution for this?

littleGnAl commented 9 months ago

If you still face issues, please try upgrading to the new version to see if it works for you.

github-actions[bot] commented 9 months ago

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.

github-actions[bot] commented 9 months 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.