I use flutter_webrtc to implement video calls
When flutter_callkit_incoming is not used, the speaker works fine,
I use the following method to switch headphones or speakers:
Helper.setSpeakerphoneOn(true);
If I use flutter_callkit_incoming, I cannot use setSpeakerphoneOn to switch the audio output on android
sometimes audio output is speaker, sometimes is earpiece on iOS
Flutter version 3.16.3 vs Dart version 3.2.3
flutter_callkit_incoming: ^2.0.3
flutter_webrtc: ^0.9.22
I use flutter_webrtc to implement video calls When flutter_callkit_incoming is not used, the speaker works fine, I use the following method to switch headphones or speakers: Helper.setSpeakerphoneOn(true);
If I use flutter_callkit_incoming, I cannot use setSpeakerphoneOn to switch the audio output on android sometimes audio output is speaker, sometimes is earpiece on iOS
Flutter version 3.16.3 vs Dart version 3.2.3 flutter_callkit_incoming: ^2.0.3 flutter_webrtc: ^0.9.22