I'm trying to develop an app which shows lockscreen media controls (MPRemoteCommandCenter
and MPNowPlayingInfoCenter
).
The tricky part is that I'm not playing a media on the phone but on a remote server (like Google cast).
I managed to do it by playing a silent audio file on the phone which shows the lockscreen controls but it doesn't feel like a good solution (unnecessary battery drain).
Is it possible to show these controls without playing anything on the phone ?