Playing M4V Protected Content with MPMoviePlayerController or AVPlayer (iOS)

后端 未结 1 350
无人及你
无人及你 2020-12-20 16:19

Is there a way to have the MPMoviePlayerController (or even something lower level like AVPlayer) play protected M4V files from the iTunes Store?

Using the official

相关标签:
1条回答
  • 2020-12-20 17:09

    I am afraid that Apple does not want us to do that in our own apps.

    DRMed MPEG4 video seems to be a no-go for all multimedia iOS SDK levels (mediaplayer framework as well as avfoundation framework).

    Read this blog for a proof of the exact same experiences you made yourself already.

    And just for making sure that people do not get this wrong and mix apples with oranges. This does only apply to DRM protected video files and has nothing to do with protected streaming - AES-128 encrypted HTTP-streaming (m3u8) is perfectly compatible with iOS and possible on all levels (MPMoviePlayerController as well as AVPlayer).

    0 讨论(0)
提交回复
热议问题