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

The definition of the IMediaKeysClient interface. More...

#include <IMediaKeysClient.h>

Public Member Functions

virtual ~IMediaKeysClient ()
 The virtual destructor.
 
virtual void onLicenseRequest (int32_t keySessionId, const std::vector< unsigned char > &licenseRequestMessage, const std::string &url)=0
 Notification that a license is required. More...
 
virtual void onLicenseRenewal (int32_t keySessionId, const std::vector< unsigned char > &licenseRenewalMessage)=0
 Notification that a license renewal is required. More...
 
virtual void onKeyStatusesChanged (int32_t keySessionId, const KeyStatusVector &keyStatuses)=0
 Notification that the status of one or more keys in the key session has changed. More...
 

Detailed Description

The definition of the IMediaKeysClient interface.

This interface defines the public API of Rialto for EME decryption of AV content which should be implemented by both Rialto Client & Rialto Server.

Member Function Documentation

◆ onKeyStatusesChanged()

virtual void firebolt::rialto::IMediaKeysClient::onKeyStatusesChanged ( int32_t  keySessionId,
const KeyStatusVector keyStatuses 
)
pure virtual

Notification that the status of one or more keys in the key session has changed.

Parameters
[in]keySessionId: The idea of the session triggering the callback
[in]keyStatuses: Vector of key ID/key status pairs

◆ onLicenseRenewal()

virtual void firebolt::rialto::IMediaKeysClient::onLicenseRenewal ( int32_t  keySessionId,
const std::vector< unsigned char > &  licenseRenewalMessage 
)
pure virtual

Notification that a license renewal is required.

Parameters
[in]keySessionId: The idea of the session triggering the callback
[in]licenseRenewalMessage: The license renewal message blob

◆ onLicenseRequest()

virtual void firebolt::rialto::IMediaKeysClient::onLicenseRequest ( int32_t  keySessionId,
const std::vector< unsigned char > &  licenseRequestMessage,
const std::string &  url 
)
pure virtual

Notification that a license is required.

Parameters
[in]keySessionId: The idea of the session triggering the callback
[in]licenseRequestMessage: The license request message blob
[in]url: URL to which the message should be sent or empty string

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