Agora-Flutter-SDK
Agora-Flutter-SDK copied to clipboard
audioVolumeIndication not working only on iOS.
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
Hello @Naoki-Hidaka, did you call the joinChannel function?
@littleGnAl
Hi
Yes, i called joinChannel function.
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
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.