FairPlay is a digital rights management (DRM) technology created by Apple Inc., based on technology created by the company Veridisc. FairPlay is built into the QuickTime multimedia software and used by the iPhone, iPod, iPad, Apple TV, iTunes, and iTunes Store and the App Store.
Questions tagged [fairplay]
107 questions
2
votes
0 answers
how to playback fairplay hls content offline with safari browser
I am trying to implement fairplay content playback offline on safari bowser. but there is no related document on Apple offical website.
Anybody know how to do it?

Kevin Bao
- 21
- 1
2
votes
0 answers
How to decode DRM protected content (FairPlay, WideVine etc) using Video ToolBox on iOS?
I have a custom player on iOS which can decode a HEVC stream using the HEVC decoder provided by the video toolbox, get the handle to the decoded frame, pass it to Metal and render the frame using Metal. I would like to do the same with DRM…

Anon90
- 21
- 1
2
votes
0 answers
How to download a encrypted m3u8 in iOS. Even if would able to download I could not able to play the encrypted video in offline mode
In earlier case of my I have played non encrypted .m3u8 video in offline mode
I have download a .m3u8 extension video file which is not encrypted
and I have played that video.
This video is download in the formate of .movpkg extension format.
I…

Manoj Kumar
- 121
- 1
- 10
2
votes
0 answers
Download performance of AVAssetDownloadTask
I'm using AVAssetDownloadTask to download some FairPlay-encrypted audio. As per guidelines, the audio is split up into small chunks to allow switching between bitrates during streaming. Our chunks are about 6 seconds each, which means less than 100…

Tom Hamming
- 10,577
- 11
- 71
- 145
2
votes
0 answers
Error handling in AVAssetResourceLoaderDelegate
What is the recommended way for handling error in AVAssetResourceLoaderDelegate? specifically network requests in shouldWaitForLoadingOfRequestedResource / shouldWaitForRenewalOfRequestedResource?
However, there is no way for my app to know…

noc
- 86
- 5
2
votes
1 answer
Offline Fairplay AVAssetDownloadTask got unknown error callback while downloading (only happened on iOS 10.2)
We're building offline fairplay content for our client app; we implemented that feature by referencing to Apple sample download manager AssetPersistenceManager class in HLSCatalog demo app.
There is one function, and two call back in…

untouchable
- 206
- 1
- 11
2
votes
0 answers
HLS.js Custom license server
What is the best way to use HLS.js to make a custom license request to play encrypted HLS content? What I'm looking for is to override the AES URI that's in the manifest with one of my own, a.k.a. overriding the LAURL
const vid =…

Sev
- 15,401
- 9
- 56
- 75
2
votes
7 answers
is it reasonable to protect drm'd content client side
Update: this question is specifically about protecting (encipher / obfuscate) the content client side vs. doing it before transmission from the server. What are the pros / cons on going in an approach like itune's one - in which the files aren't…

eglasius
- 35,831
- 5
- 65
- 110
1
vote
1 answer
Epub source code issue during extraction
I'm trying to 'see' the source code for an interactive ebook (.epub) that I have on my ipad and it is running fine on Ibooks app.
What I did is changing the ebook's file extention .epub to .zip and unzipping it.
The problem is that whenever i try to…

luca
- 36,606
- 27
- 86
- 125
1
vote
0 answers
HLS+Fairplay stream resource freeing issue
The Context
I'm using the HTML video element to play HLS+Fairplay streams (VOD and live) in Safari.
My application is a Netflix-like. You can watch a video, stop, and watch another one.
Concretly, the

Rodolphe
- 1,689
- 1
- 15
- 32
1
vote
0 answers
Enable FairPlay Streaming in Safari over AirPlay
Apple's documentation is unclear on how to enable FairPlay streaming via AirPlay on Safari.
The FairPlay Streaming Programming Guide indicates that for an iOS app you need to enable it on the…

Scott
- 33
- 3
1
vote
1 answer
AVContentKeySession API equivalent on MacOS/Safari?
I am implementing a Fairplay Streaming player on Safari.It needs to prefetch a set of keys from KSM before the playback. All the examples I came across implement AvContentKeySession api but it is available only in Swift and Objective-C(for ios).…

Sathish Rao
- 11
- 2
1
vote
0 answers
Integrate Fairplay to Apple TV (Objective C)
I am trying to integrate Fairplay to an Apple TV app. So far, I requested the certificate but when I try to get the SPC it fails, it returns an error: "The operation couldn't be completed". What can I do to debug this, or do you have some Fairplay…

claudiudbc
- 21
- 7
1
vote
1 answer
What is the reccomended way to use HLS and DASH + DRM in a player?
I'm using the VideoJS player and have a CMAF video so I am using HLS and DASH. I'm also using all 3 types of DRM. Fairplay for hls, widevine and playready for dash.
My question is should I include both hls and dash sources in the player and let the…

user2570937
- 802
- 3
- 17
- 34
1
vote
0 answers
Unable to play fairplay protected video in wkWebView on iOS 12.4.6
I'm switching my Cordova App from the UIWebView to the WKWebView.
The app needs to play videos protected with the Fairplay DRM, and everything was fine with the UIWebView. When using the WKWebView I'm not able to play the videos on a iPad mini 2…

yethie
- 78
- 5