Navigation
API > API/Plugins > API/Plugins/ElectraCDM
| Name | IMediaCDM |
| Type | class |
| Header File | /Engine/Plugins/Media/ElectraCDM/Source/ElectraCDM/Public/ElectraCDM.h |
| Include Path | #include "ElectraCDM.h" |
Syntax
class IMediaCDM
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IMediaCDM() |
ElectraCDM.h |
Structs
| Name | Remarks |
|---|---|
| FCDMCandidate | |
| IPlayerSession |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ECDMError CreateDRMClient
(
TSharedPtr< IMediaCDMClient, ESPMode::ThreadSafe >& OutClient, |
Create a single client from all the given candidates. | ElectraCDM.h | |
IPlayerSession * CreatePlayerSessionID() |
ElectraCDM.h | ||
TSharedPtr< IMediaCDMCapabilities, ESPMode::ThreadSafe > GetCDMCapabilitiesForScheme
(
const FString& InCDMScheme, |
CDM system capabilities | ElectraCDM.h | |
| Obtains the CDM system's preference on how attributes and text properties should be prefixed in the JSON string passed to GetCDMCapabilitiesForScheme(..., InAdditionalElements) or in the FCDMCandidate.AdditionalElements. | ElectraCDM.h | ||
FString GetLastErrorMessage() |
State | ElectraCDM.h | |
void RegisterCDM
(
TWeakPtr< IMediaCDMSystem, ESPMode::ThreadSafe > InCDMSystem |
CDM registration | ElectraCDM.h | |
void ReleasePlayerSessionID
(
IPlayerSession* InPlayerSessionToRelease |
Releases the specified player session and its associated keys. | ElectraCDM.h | |
ECDMError ReleasePlayerSessionKeys
(
IPlayerSession* InPlayerSession |
Releases all license keys associated by the specified session. | ElectraCDM.h |
Protected
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static IMediaCDM & Get() |
ElectraCDM.h |