Module |
|
Header |
/Engine/Plugins/Media/ElectraCDM/Source/ElectraCDM/Public/ElectraCDM.h |
Include |
#include "ElectraCDM.h" |
ECDMError CreateDRMClient
(
TSharedPtr< IMediaCDMClient, ESPMode::ThreadSafe > & OutClient,
IPlayerSession * InForPlayerSession,
const TArray< FCDMCandidate > & InCandidates
)
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.