Remove all FairPlay formatting
See original GitHub issueIt seems that different FairPlay license servers communicate differently. We initially implemented a superset of the format used in Apple’s sample docs, but this turns out to be a poor intermediate format for others to build request/response filters for arbitrary formats.
We should remove the formatting of requests and responses, which unfortunately will require applications to use request/response filters for FairPlay in (probably) all cases.
To close this issue, we should:
- Remove specific FairPlay formatting from DrmEngine
- Unfortunately, this will be a breaking change, which makes it difficult to justify cherry-picking to v2.5.x. On the other hand, applications may not be able to use what we shipped in v2.5.0, so it may be better to break it quickly and get it over with.
- Write a tutorial document on special requirements of FairPlay usage, including:
- Server certificate
- Request/response filters
- Sample request/response filters for common formats we encounter
- Add functionality to the demo app to allow request/response filters to be specified for custom assets, to facilitate FairPlay testing
- This will involve
eval, which is regrettable, and will need to be whitelisted inbuild/conformance.textproto
- This will involve
See also https://github.com/google/shaka-player/issues/1915#issuecomment-493374738, #1923.
Issue Analytics
- State:
- Created 4 years ago
- Comments:17 (9 by maintainers)
Top Results From Across the Web
Remove all FairPlay formatting · Issue #1951 · shaka ... - GitHub
I wonder if we should just remove all formatting from FairPlay requests. So all we'd do is pass the init data we get...
Read more >Clear all text formatting - Microsoft Support
Clear all text formatting ; In Word and Publisher. On the Home tab, in the Font group, click Clear All Formatting. The Clear...
Read more >How to Get Rid of Apple FairPlay DRM and Get More Freedom
In this post, I will show you different tools to remove FairPlay DRM from ... convert Apple Music format to other more compatible...
Read more >How to Remove Apple's Fairplay DRM Protection
Every Fairplay DRM encrypted files are encoded with MP4 container format and AAC audio stream codec. When we buy or rent a movie...
Read more >MP-70/50 Series Scoreboard Controller User Guide
Follow these steps to remove all of the players from either team for a mass player substitution. This action will take all players...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I wonder if we should just remove all formatting from FairPlay requests. So all we’d do is pass the init data we get from the browser. The app would then have to create a request filter that appends their cert. We could provide a helper to aid in this. This would allow the app to have their own content ID calculations. We also would no longer require a server certificate for FairPlay since the app will be adding it in the request filter. So every app would need to do something like:
We could even have a default filter generator, something like this:
These will be cherry-picked to appear in v2.5.5. But, to avoid breaking anyone depending on it, we will still provide the old filters by default. For v2.5.x, you can disable this by setting the
drm.fairPlayTransformconfiguration tofalse. This will be the default in v2.6.