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