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
4
votes
1 answer
Fairplay implementation in Swift, AVAssetResourceDelegate
I watched Apple FairPlay introduction videos, I read a this code:
https://gist.github.com/fousa/5709fb7c84e5b53dbdae508c9cb4fadc
And I also went through HLS Catalog from apple and with the last the problem is that I need only playing DRM videos…

pkesaj
- 61
- 1
- 7
4
votes
1 answer
Which audio codecs are supported for HLS?
Does HLS protocol specify audio codec? If it does, which are supported?
I've tried to search, but found different lists:
MP3, HE-AAC or AC-3
according to wikipedia
AAC, AAC-LC, HE-AAC (accPlus) v1 & v2, MP3
according to this
AAC-LC, HE-AACV1-2,…

Nelson Tatius
- 7,693
- 8
- 47
- 70
4
votes
1 answer
Fairplay SPC request returns nil
I'm attemping to use the [AVAssetResourceLoadingRequest streamingContentKeyRequestDataForApp:contentIdentifier:options:error:]; method to obtain an SPC key but I'm getting nil returned to me instead of the intended SPC value. I am mainly referencing…

jfuellert
- 550
- 4
- 10
3
votes
1 answer
iOS 16: AVContentKeyRequest processContentKeyResponse Throws Exception
Issue:
I am supporting a streaming iOS application that uses Fairplay DRM to playback protected content.
On iOS 16 devices, I am seeing intermittent exceptions thrown when trying to process the CKC returned by the license server.
The thrown…

rmigneco
- 595
- 4
- 16
3
votes
4 answers
iOS 16 FairPlay Changes
Are there any changes in FairPlay logic? My app has FairPlay protected Videos and Audio, they work perfectly until iOS 15.7, but in iOS 16
makeStreamingContentKeyRequestData is throwing me following error :
Error Domain=CoreMediaErrorDomain…

harshit mishra
- 29
- 5
3
votes
1 answer
Azure Media Services - FairPlay configuration shows - Certificate validation failed
I have already setup DRM for Widevine and Playready. It is working perfectly.
Now I also want to enable FairPlay. But when I am trying to add the App Certificate to FairPlay Configuration in Content Protection blade in Azure Media Services it does…

Manish Gupta
- 1,405
- 14
- 32
3
votes
2 answers
Error obtaining key request data: AVFoundationErrorDomain reason: Optional("An unknown error occurred (-42650)")
I am implementing Apple Fireplay DRM for delivering encrypted content to devices.
I was able to successfully load the certificate, but when I try to obtain SPC data from AVAssetResourceLoadingRequest, I am getting this error.
Error obtaining key…

abhinavroy23
- 3,630
- 1
- 14
- 19
3
votes
1 answer
Error Domain=AVFoundationErrorDomain Code=-11835 "Cannot Open"
I'm currently trying to implement a service to handle DRM with FairPlay streaming on a tvOS App.
Here is my workflow :
I get the app certificate as Data
From this certificate i get the SPC Datas, using…

Jqvk Blqck
- 33
- 4
3
votes
1 answer
Fairplay playback not working
We are implementing fairplay with our videoplayer and we are able to do all the steps apple requires to play drm videos, but the video just doesn't play.
We are able to:
Receive a call on our delegate:
shouldWaitForLoadingOfRequestedResource
On the…

Daniel Ramos
- 251
- 1
- 6
3
votes
1 answer
Fairplay SDK and IOS9
I have used the Fairplay sdk on IOS8.4.1 and now I have updated my IPad that I test with to IOS9
So to be super clear I am using:
OSX 10.10.5 (14F27)
XCode 7.0 (7A220)
IPad2 mini IOS9
Using the test client that comes with the sdk, I just did a…

PCryptGuy
- 31
- 3
3
votes
1 answer
Apple FairPlay Key Server Module Implementation
Has anybody managed to implement this part? Apple has released some reference code along with the FairPlay SDK (preview), but there are quite some missing bits. Is there any guides / tutorials, which would help / guide the implementation?

iosappdeveloper87
- 213
- 1
- 10
3
votes
1 answer
about Airplay Mirroring... things after fp-setup
My project is to grab decrypted Airplay Mirrorred h.264 screen data from my Android device.
Since I know nothing about AES-like things... So I skipped that step with hard coded data, omnipeek'ed from, between My iPad and AppleTV.
Started with the…

BReNTT
- 31
- 1
- 3
2
votes
1 answer
How to play DRM protected videos in AVPlayer in swift/ios?
This is below my response getting from backend apis.
How can i play videos with .mpd extension in swift AVPlayer with widevine and no widevine.
My certificate data is now downloading , but I'm unable to get streamingContentKeyRequestData.
I'm…

zaid afzal
- 119
- 1
- 5
2
votes
1 answer
Deleted protected content cannot be downloaded again in the same session
I'm working with HLS FairPlay but can't correctly delete a protected downloaded content and re-download it in the same session (= without first closing the app).
step 1:
movpkg is deleted from FileManager
its content key is deleted from the .keys…

alessandro_minopoli
- 71
- 5
2
votes
1 answer
HLS media file decryption is not working using VideoJs, FairPlay
I've tried to play an encrypted HLS media file, but It was not played and occurred errors as below.
enter image description here
The executable environment was identified in this link, but it was not played
And tested in test page of Pallycon, but…

Mingyu Choi
- 71
- 1
- 7