Add compilation rules for ENCRYPTED_MEDIA_V2 support.
Assignment from int seems to generate a warning for this pointer, use clear method.
Prepare GStreamer backend for ENCRYPTED_MEDIA_V2 support.
Generate bindings for MediaKeyError and Event when ENCRYPTED_MEDIA_V2 is enabled.
Also build the testing mock CDM.
Add a basic CDM for Discretix DRM.
Updates from upstream, mostly copyrights.
This has been moved to platform specific backend and there's a CDMPrivateMediaPlayer.
Backport changes from upstream :
- Adding a function to check Keysystem and mimetype
- Replace the AVFoundation CDM by a CDMPrivateMediaPlayer
Backport changes from upstream :
- Use ActiveDOMObject.
- Add functions for error and message sending.
Backport changes from upstream :
- new API isTypeSupported which is required to check for supported keysystems.
Backport changes from upstream :
- new API to create a CDMSession. With this the Player engine can be the CDM.
Port our existing CDMs (Mock and DXDRM) to new API
Build new files.
Add new files from upstream
Some compilers don't like our forward declaration of GenericQueue, move the function declaration to the cpp file
Add supportsKeySystem method from upstream which will make it easier to query the keysystems without a ContentType
Add supportsKeySystem method and use it in our ExtentedSupportsType
Use the new supportsKeySystem as upstream does instead of supportsType which does not accept empty ContentType
Integrate the CDM directly in the Media Player backend.