Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using AVPlayer to play DRM protected songs

For various reasons I need to use AVPlayer to play music from the IOS iTunes library. When I try to retrieve the URL for a DRM protected song the result is null. Has anyone found a way to achieve this?

like image 468
user973984 Avatar asked Nov 11 '11 19:11

user973984


1 Answers

There is no way to accomplish this, period. The only supported way to play the DRM-protected songs is via the built-in library. You also can't record that stream, it gets mixed in at a different stage to prevent apps from getting the DRM music that way.

like image 76
russbishop Avatar answered Oct 21 '22 23:10

russbishop