NowPlayingInfo for video and audio

In my tvOS App I play video with the AVPlayerViewController and use the externelMetadata

for providing Info to the NowPlayingInfo.


I also play audio with the AVQueuePlayer and my custom UI. For audio, I set the info

directly to the MPNowPlayingInfoCenter.


When i run my app an play some audio first, the NowPlayingInfo is displayed correctly.

Then I play a video and the NowPlayingInfo is also displayed correctly.


But after presenting a video with the AVPlayerViewController, the playback of audio

and setting of the info via MPNowPlayingInfoCenter no longer works. I also noticed

that in the Remote-App the NowPlayingInfo still shows the info from the last video.

Prior to the tvOS 11 version everything worked as expected. I could play audio and

video in any order and the NowPlayingInfo was always showing correctly.


Is this a bug of tvOS 11 or must i do something else?


Thanks.

NowPlayingInfo for video and audio
 
 
Q