swift - Get metadata from MP3 HTTP stream -
i want metadata mp3 http stream. stream played avplayer.
i've tried avplayeritemmetadatacollector returns nil.
the alternative specific part on website of stream current title displayed.
here player code:
let playeritem = avplayeritem(url: url(string: "stream.p4.no/p5trondheim_mp3_hq")!) player = avplayer(playeritem: playeritem) player.rate = 1.0; player.play()
what can do?
Comments
Post a Comment