IMediaCDM::CreateDRMClient

Create a single client from all the given candidates.

Windows
MacOS
Linux

References

Module

ElectraCDM

Header

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

Include

#include "ElectraCDM.h"

Syntax

ECDMError CreateDRMClient
(
    TSharedPtr< IMediaCDMClient, ESPMode::ThreadSafe > & OutClient,
    IPlayerSession * InForPlayerSession,
    const TArray< FCDMCandidate > & InCandidates
)

Remarks

Create a single client from all the given candidates. Candidates are those whose capabilities said they are able to decrypt a particular stream. The object of this method is to settle on one CDM system (in case several claimed capability to decrypt). Returns Success or Failure if different types of streams would be using a different type of CDM.

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