IMediaCDMDecrypter

Decrypter instance.

Windows
MacOS
Linux

References

Module

ElectraCDM

Header

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

Include

#include "ElectraCDMClient.h"

Syntax

class IMediaCDMDecrypter

Remarks

Decrypter instance.

Destructors

Name Description

Public function Virtual

~IMediaCDMDecrypter()

Functions

Name Description

Public function

ECDMError

 

BlockStreamDecryptEnd

(
    IStreamDecryptHandle* InStream...
)

Public function

ECDMError

 

BlockStreamDecryptInPlace

(
    IStreamDecryptHandle* InOutStr...,
    int32& OutNumBytesDecrypted,
    uint8* InOutData,
    int32 InNumDataBytes,
    const FMediaCDMSampleInfo& InSampl...,
    bool bIsLastBlock
)

Public function

ECDMError

 

BlockStreamDecryptStart

(
    IStreamDecryptHandle*& OutStre...
)

Public function

ECDMError

 

DecryptInPlace

(
    uint8* InOutData,
    int32 InNumDataBytes,
    const FMediaCDMSampleInfo& InSampl...
)

Decrypt a non-block oriented cipher (eg. AES 128 CTR) in place.

Public function

FString

 

GetLastErrorMessage()

Public function

ECDMState

 

GetState()

State

Public function

bool

 

IsBlockStreamDecrypter()

Returns if this decrypter needs to work in block streaming mode (based on the encryption settings).

Public function

void

 

Reinitialize()

Reinitializes the decrypter to its starting state. This should not normally be called unless an error occurred.

Public function

ECDMError

 

UpdateFromURL

(
    const FString& InURL,
    const FString& InAdditionalElement...
)

Update from a URL and additional scheme specific elements.

Public function

ECDMError

 

UpdateInitDataFromMultiplePSSH

(
    const TArray< TArray< uint8 >>& In...
)

Public function

ECDMError

 

UpdateInitDataFromPSSH

(
    const TArray< uint8 >& InPSSHData
)

License update

Update from PSSH boxes encountered in the stream.

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