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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With