flutter-webrtc / dart-sip-ua

A dart-lang version of the SIP UA stack.
MIT License
329 stars 255 forks source link

Call is always on loudspeakers on iOS #272

Open jackeychina opened 2 years ago

jackeychina commented 2 years ago

callState.stream?.getAudioTracks()?.first?.enableSpeakerphone(false) is not working for iOS physical device.

Any solution for iOS ?

eugenioadapta commented 1 year ago

i use _localStream! .getAudioTracks() .forEach((e) => e.enableSpeakerphone(false));

stwonary commented 1 year ago

Same here, and the count of my getAudioTracks is only one.