Rialto  0.1
Rialto media pipeline API
Public Member Functions | List of all members
firebolt::rialto::IMediaKeysCapabilities Class Referenceabstract

The definition of the IMediaKeysCapabilities interface. More...

#include <IMediaKeysCapabilities.h>

Public Member Functions

 IMediaKeysCapabilities (const IMediaKeysCapabilities &)=delete
 
IMediaKeysCapabilitiesoperator= (const IMediaKeysCapabilities &)=delete
 
 IMediaKeysCapabilities (IMediaKeysCapabilities &&)=delete
 
IMediaKeysCapabilitiesoperator= (IMediaKeysCapabilities &&)=delete
 
virtual std::vector< std::string > getSupportedKeySystems ()=0
 Returns the EME key systems supported by Rialto. More...
 
virtual bool supportsKeySystem (const std::string &keySystem)=0
 Indicates if the specified key system is supported. More...
 
virtual bool getSupportedKeySystemVersion (const std::string &keySystem, std::string &version)=0
 Returns version of supported key system. More...
 
virtual bool isServerCertificateSupported (const std::string &keySystem)=0
 Gets support server certificate. More...
 

Detailed Description

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.

Member Function Documentation

◆ getSupportedKeySystems()

virtual std::vector<std::string> firebolt::rialto::IMediaKeysCapabilities::getSupportedKeySystems ( )
pure virtual

Returns the EME key systems supported by Rialto.

Return values
Thesupported 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
trueif 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
trueif 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
trueif supported.

The documentation for this class was generated from the following file: