Using AVPlayer to play DRM protected songs

For various reasons, I need to use AVPlayer to play music from the iTunes IOS library. When I try to get the URL for a secure DRM composition, the result will be null. Has anyone found a way to achieve this?

+6
source share
1 answer

Unable to complete this period. The only supported way to play DRM protected songs is through the built-in library. You also cannot record this stream, it is mixed at another stage to prevent applications from receiving DRM music in this way.

+2
source

Source: https://habr.com/ru/post/901314/


All Articles