IMediaCDM

Windows
MacOS
Linux

References

Module

ElectraCDM

Header

/Engine/Plugins/Media/ElectraCDM/Source/ElectraCDM/Public/ElectraCDM.h

Include

#include "ElectraCDM.h"

Syntax

class IMediaCDM

Destructors

Name Description

Protected function Virtual

~IMediaCDM()

Functions

Name Description

Public function

ECDMError

 

CreateDRMClient

(
    TSharedPtr< IMediaCDMClient, ESPMod...,
    IPlayerSession* InForPlayerSes...,
    const TArray< FCDMCandidate >& InC...
)

Create a single client from all the given candidates.

Public function

IPlayerSessi...

 

CreatePlayerSessionID()

Public function Static

IMediaCDM &

 

Get()

Public function

TSharedPtr< ...

 

GetCDMCapabilitiesForScheme

(
    const FString& InCDMScheme,
    const FString& InValue,
    const FString& InAdditionalElement...
)

CDM system capabilities

Public function

void

 

GetCDMCustomJSONPrefixes

(
    const FString& InCDMScheme,
    const FString& InValue,
    FString& OutAttributePrefix,
    FString& OutTextPropertyName,
    bool& bOutNoNamespaces
)

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](API\Plugins\ElectraCDM\IMediaCDM\FCDMCandidate\AdditionalElements).

Public function

FString

 

GetLastErrorMessage()

State

Public function

void

 

RegisterCDM

CDM registration

Public function

void

 

ReleasePlayerSessionID

(
    IPlayerSession* InPlayerSessio...
)

Releases the specified player session and its associated keys.

Public function

ECDMError

 

ReleasePlayerSessionKeys

(
    IPlayerSession* InPlayerSessio...
)

Releases all license keys associated by the specified session.

Classes

Name

Description

Public struct

FCDMCandidate

Public struct

IPlayerSession

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss