flutter-webrtc / callkeep

iOS CallKit and Android ConnectionService for Flutter
MIT License
130 stars 139 forks source link

[HELP] iOS lockscreen audio output #119

Open Faaatman opened 2 years ago

Faaatman commented 2 years ago

Is there a way to listen to audio output device event changes (ex: speaker or earpiece)?

_callKeep.on(CallKeepDidChangeAudioOutput(),
      (CallKeepDidChangeAudioOutput event) {
    print("Audio output changed to ${event.output}");
  });