Can we show lockscreen media controls without playing a media on the phone but casting to Smart TVs/Streaming boxes?

I'm trying to develop an app which should show lockscreen media controls (

MPRemoteCommandCenter
and
MPNowPlayingInfoCenter
) when casting a media to Smart TVs/Streaming boxes(Roku/FireTV etc...), my app never plays audio in the background on phone, which is similar to YouTube, from YouTube app if you are casting any media to any Smart TV/Streaming box (ex: ChromeCast) and goes to background lock screen controls appears but if you just play on phone and went to background, media just stops playing and no lock screen controls present.


One of the hack that I am thinking is 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). Also will approve?

Apple documentation indicates that it is supported (https://developer.apple.com/documentation/mediaplayer/handling_external_player_events_notifications) but I haven not found any sample code nor been able to make it work my self. My goal is to allow the user to control the GoogleCast playback from the CommandCenter.

Can we show lockscreen media controls without playing a media on the phone but casting to Smart TVs/Streaming boxes?
 
 
Q