I'm working on an iOS app with Google Cast support. One of the key features is playing radio live streams and with the native player (I'm using AVPlayer
) I'm able to get timed metadata from the stream, so I can update the currently playing content while the live stream is being played. This is a very common feature you can find in almost every media app. To accomplish this, I just observe using KVO the timedMetadata
property of the current item of the AVPlayer
instance, and then filter the info of the keys that interest me.
When I load the same stream in the default receiver app of the Google Cast, I only get updates of the status, volume... but the metadata info is just the one I created the item with before loading it, and I can't find how to get this timed metadata.
Is there a way to implement this?