Agora-Flutter-SDK icon indicating copy to clipboard operation
Agora-Flutter-SDK copied to clipboard

audioVolumeIndication not working only on iOS.

Open dosukoi-android opened this issue 3 years ago • 3 comments

Describe the bug

await _engine?.enableAudioVolumeIndication(250, 10, true);
_engine?.setEventHandler(RtcEngineEventHandler(
    audioVolumeIndication: (speakers, v) {
        print('audioVolumeIndication');      
    },
));

When I run it on iOS, nothing is output I do the same code for Android, but it outputs.

Smartphone (please complete the following information):

  • Device: iPhone13
  • OS: iOS 15.5
  • SDK Version: 5.1.0

dosukoi-android avatar Aug 06 '22 14:08 dosukoi-android

Hello @Naoki-Hidaka, did you call the joinChannel function?

littleGnAl avatar Aug 08 '22 02:08 littleGnAl

@littleGnAl Hi Yes, i called joinChannel function.

dosukoi-android avatar Aug 10 '22 13:08 dosukoi-android

You can check this example for reference, it works on the iOS simulator https://github.com/AgoraIO/Agora-Flutter-SDK/pull/737/files#diff-a997157bc5be883f1d56dd59dae57e94f041a6c43bfc22aa572c6526a0fa77c2

littleGnAl avatar Aug 11 '22 16:08 littleGnAl

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] avatar Sep 04 '22 15:09 github-actions[bot]

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.

github-actions[bot] avatar Apr 28 '23 11:04 github-actions[bot]