Navigation
API > API/Plugins > API/Plugins/ElectraCDM
References
| Module | ElectraCDM |
| Header | /Engine/Plugins/Media/ElectraCDM/Source/ElectraCDM/Public/ElectraCDMClient.h |
| Include | #include "ElectraCDMClient.h" |
Syntax
class IMediaCDMClient
Remarks
CDM client This interfaces the application with the CDM system. An application can use multiple clients if necessary.
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| ECDMError | CreateDecrypter
(
TSharedPtr< IMediaCDMDecrypter, ESPMode::ThreadSafe >& OutDecrypter, |
DecrypterCreates a decrypter for the specified MIME type. | |
| FString | |||
| void | GetLicenseKeyRequestData
(
TArray< uint8 >& OutKeyRequestData, |
Returns the data to send to the license server as well as the HTTP method and additional HTTP headers. | |
| void | GetLicenseKeyURL
(
FString& OutLicenseURL |
Returns the URL to the license server, either from configuration data or the overrride. | |
| ECDMState | GetState () |
State | |
| void | License acquisition | ||
| void | RegisterEventListener
(
TWeakPtr< IMediaCDMEventListener, ESPMode::ThreadSafe > InEventListener |
Application event listener methods. | |
| ECDMError | SetLicenseKeyResponseData
(
void* InEventId, |
Sets the license server's response data. | |
| void | SetLicenseServerURL
(
const FString& InLicenseServerURL |
Overrides the URL to the license server that may have been set in the initial configuration data. | |
| void | UnregisterEventListener
(
TWeakPtr< IMediaCDMEventListener, ESPMode::ThreadSafe > InEventListener |
Unregisters a previously registered event listener. |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EDRMClientFlags |