Ok so I've looked at many similar stack questions but none of them worked or were too old to even be considered.
Here is the stream adres if that's important: http://51.255.8.139:8822/stream
NOTE: I'm new to iOS programming and this is my first project.
I used AVFoundation. AVAsset to enclose URL and AVPlayer to play it. That works.
I can't however get any metadata from the stream. Like current song name.
Notable things I tried:
asset.timedMetadatanothing there- official apple tutorial
availableMetadataFormatswas empty -
also emptyplayerItem!.observe(\AVPlayerItem.timedMetadata, options: .new) { (player, change) in print(change) }