-
Notifications
You must be signed in to change notification settings - Fork 242
Set resolution limits for DRM streams
Some video service providers may have DRM video streams that require some HDCP/Security levels, common cases are VMP protection that allow only SD or Widevine L1 on android, this implies that there will be unplayable resolutions due to these restrictions and will probably result in black screen or played only for some seconds.
To prevent ISAdaptive from attempting to play these unplayable streams, you can to set the X-Limit-Video
HTTP header in the HTTP license response.
To add this header in the HTTP license response, you will have to implement a proxy in your add-on to intercept the ISAdaptive HTTP license request, then your addon will make the request to get the license data and will have to edit the response on the fly to add the header (an example in page How to provide custom manifest and license).
Name: X-Limit-Video
Value: The value must be prefixed with max=
and followed by the result of resolution width multiplied for its height.
For example to limit until to 720p: 1280x720 the result will be 921600.
If the value set will be set as 0
, no limit will be set.
X-Limit-Video: max=921600
(stands for 1280x720 limit).
User Documentation
Developer Documentation
- Integration
- Integration DRM
- Integration DRM (old)
- Stream selection types properties
- How to test a stream
- Test samples python addon
- How to provide custom manifest and license
- Supported containers and codecs
- Verified Media Path (VMP)
- Set resolution limits for DRM streams
- Custom DASH manifest tags
- Audio Subtitles track properties
- Dev. FAQ
- Widevine ARM64 support
- Add‐on WIP status
Development