htan
htan

Reputation: 333

Set nowplayingInfo for showing metadata not work on airplay Apple TV

I am sending metadata from an audio app via the MPNowPlayingInfoCenter : title, artist, artwork....

On iPhone devices, all this information is correctly displayed in the control center of the device (as well as in Carplay which uses also these metadata or in the Apple Watch).

But on Apple TV via airplay (MPVolumView), I just see a black screen with a progress bar.

I registered via KVO on the AVPlayerItem timedMetadata, but as soon as I play on AppleTV I do not receive any notification anymore as an observer.

Do someone have the same problem?

Thank you a lot for any responses.

Upvotes: 2

Views: 343

Answers (1)

Sindhu Satyanarayanan
Sindhu Satyanarayanan

Reputation: 21

Set the bool allowsexternalplayback to false

Upvotes: 2

Related Questions