AVAudioSession mixWithOthers option and MPRemoteCommandCenter

Hi,


In our application we are using Spotify Audio Playback frame work (SpotifyAudioPlayback.framework) to play songs from that provider. When we lock screen during playing song we see RemoteControlCenter buttons and now playing song info (because in out app we set this info to MPNowPlayingCenter). But for some reason we need to add mixWithOthers option to our AVAudioSession options.


And if we do it on lock screen we didn't see now playing info and RemoteControlCenter controls. Does mixWithOthers option affects displaying now playing info and playback controls on lock screen?


Thanks.

Replies

I faced the same related issue. AVAudioSessionCategory should be mixwithothers, and you will no longer can update Lock Screen Control Center with info.

Are you able to handle this issue?


Here is my situation:https://forums.developer.apple.com/thread/97307?sr=stream

Hello,


Currently I'm facing the same issue. Have you ever had a solution to this>