The definition of the IMediaKeysCapabilities interface.
More...
#include <IMediaKeysCapabilities.h>
The definition of the IMediaKeysCapabilities interface.
This interface defines the public API of Rialto for querying EME decryption capabilities. It should be implemented by both Rialto Client & Rialto Server.
◆ getSupportedKeySystems()
virtual std::vector<std::string> firebolt::rialto::IMediaKeysCapabilities::getSupportedKeySystems |
( |
| ) |
|
|
pure virtual |
Returns the EME key systems supported by Rialto.
- Return values
-
The | supported key systems. |
◆ getSupportedKeySystemVersion()
virtual bool firebolt::rialto::IMediaKeysCapabilities::getSupportedKeySystemVersion |
( |
const std::string & |
keySystem, |
|
|
std::string & |
version |
|
) |
| |
|
pure virtual |
Returns version of supported key system.
- Parameters
-
[in] | keySystem | : The key system. |
[out] | version | : The supported version of the key system |
- Return values
-
true | if operation was successful |
◆ isServerCertificateSupported()
virtual bool firebolt::rialto::IMediaKeysCapabilities::isServerCertificateSupported |
( |
const std::string & |
keySystem | ) |
|
|
pure virtual |
Gets support server certificate.
Some DRMs (e.g. WideVine) use a system-wide server certificate. This method gets if system has support for that certificate.
- Parameters
-
[in] | keySystem | : The key system. |
- Return values
-
true | if server certificate is supported |
◆ supportsKeySystem()
virtual bool firebolt::rialto::IMediaKeysCapabilities::supportsKeySystem |
( |
const std::string & |
keySystem | ) |
|
|
pure virtual |
Indicates if the specified key system is supported.
This method should be called to ensure that the specified key system is supported by Rialto.
- Parameters
-
[in] | keySystem | : The key system. |
- Return values
-
The documentation for this class was generated from the following file: