问题描述:

I'm making a radio player app that streams audio from a URL (http://IP:Port) through AVPlayer in swift.

I've got everything working to play the stream but I'm not able to get the metadata so that I can display the current song title and artist name which I want to show on two labels.

From what I've found so far you have to use something to do with timedmetadata but i'm not sure how to use it.

Is anyone aware of how to do this and might be able to help?

相关阅读:
Top