Navigation
API > API/Plugins > API/Plugins/ElectraCDM
References
| Module | ElectraCDM |
| Header | /Engine/Plugins/Media/ElectraCDM/Source/ElectraCDM/Public/ElectraCDM.h |
| Include | #include "ElectraCDM.h" |
Syntax
class IMediaCDM
Destructors
| Type | Name | Description | |
|---|---|---|---|
~IMediaCDM () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| ECDMError | CreateDRMClient
(
TSharedPtr< IMediaCDMClient, ESPMode::ThreadSafe >& OutClient, |
Create a single client from all the given candidates. | |
| IPlayerSession * | |||
| IMediaCDM & | Get () |
||
| TSharedPtr< IMediaCDMCapabilities, ESPMode::ThreadSafe > | GetCDMCapabilitiesForScheme
(
const FString& InCDMScheme, |
CDM system capabilities | |
| void | GetCDMCustomJSONPrefixes
(
const FString& InCDMScheme, |
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. | |
| FString | State | ||
| void | RegisterCDM
(
TWeakPtr< IMediaCDMSystem, ESPMode::ThreadSafe > InCDMSystem |
CDM registration | |
| void | ReleasePlayerSessionID
(
IPlayerSession* InPlayerSessionToRelease |
Releases the specified player session and its associated keys. | |
| ECDMError | ReleasePlayerSessionKeys
(
IPlayerSession* InPlayerSession |
Releases all license keys associated by the specified session. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FCDMCandidate | |||
| IPlayerSession |