Skip to content

Reworking the iOS audio route change callback

Previous callback from ios-app-delegate.mm is removed and split in two part.

The MS2 part handles the processing of iOS route change notification, and extraction of the eventual changes to apply

The liblinphone part add a generic audioRouteChangeCb to MS2AudioStream, that will be called by mediastreamer when a route change event triggered.

audioRouteChangeCb perform 3 actions :

  • if needed, reload sound devices
  • if needed, set input device
  • if needed, set output device
Edited by Quentin Arguillere

Merge request reports