Shaka Player Embedded
Classes | Public Member Functions | List of all members
shaka::DrmInfo Class Referencefinal

#include <manifest.h>

Classes

class  Impl
 

Public Member Functions

 DrmInfo ()
 
 DrmInfo (js::DrmInfo &&internal)
 
 DrmInfo (const DrmInfo &)
 
 DrmInfo (DrmInfo &&)
 
 ~DrmInfo ()
 
DrmInfooperator= (const DrmInfo &)
 
DrmInfooperator= (DrmInfo &&)
 
const std::string & key_system () const
 
const std::string & license_server_uri () const
 
bool distinctive_identifier_required () const
 
bool persistent_state_required () const
 
const std::string & audio_robustness () const
 
const std::string & video_robustness () const
 
const std::vector< shaka::InitDataOverride > & init_data () const
 
const std::vector< std::string > & key_ids () const
 
js::DrmInfo GetInternal () const
 

Detailed Description

DRM configuration for a single key system.

Definition at line 73 of file manifest.h.

Constructor & Destructor Documentation

§ DrmInfo() [1/4]

shaka::DrmInfo::DrmInfo ( )

Definition at line 83 of file manifest.cc.

§ DrmInfo() [2/4]

shaka::DrmInfo::DrmInfo ( js::DrmInfo &&  internal)

Definition at line 84 of file manifest.cc.

§ DrmInfo() [3/4]

shaka::DrmInfo::DrmInfo ( const DrmInfo )
default

§ DrmInfo() [4/4]

shaka::DrmInfo::DrmInfo ( DrmInfo &&  )
default

§ ~DrmInfo()

shaka::DrmInfo::~DrmInfo ( )

Definition at line 87 of file manifest.cc.

Member Function Documentation

§ audio_robustness()

const std::string & shaka::DrmInfo::audio_robustness ( ) const

A key-system-specific string that specifies a required security level.

Definition at line 108 of file manifest.cc.

§ distinctive_identifier_required()

bool shaka::DrmInfo::distinctive_identifier_required ( ) const

True if the application requires the key system to support distinctive identifiers.

Definition at line 100 of file manifest.cc.

§ GetInternal()

js::DrmInfo shaka::DrmInfo::GetInternal ( ) const

INTERNAL USE ONLY: Get the internal representation of this object.

Definition at line 125 of file manifest.cc.

§ init_data()

const std::vector< shaka::InitDataOverride > & shaka::DrmInfo::init_data ( ) const

A list of initialization data which override any initialization data found in the content.

Definition at line 116 of file manifest.cc.

§ key_ids()

const std::vector< std::string > & shaka::DrmInfo::key_ids ( ) const

If not empty, contains the default key IDs for this key system, as lowercase hex strings.

Definition at line 120 of file manifest.cc.

§ key_system()

const std::string & shaka::DrmInfo::key_system ( ) const

The key system, e.g., "com.widevine.alpha".

Definition at line 92 of file manifest.cc.

§ license_server_uri()

const std::string & shaka::DrmInfo::license_server_uri ( ) const

The license server URI.

Definition at line 96 of file manifest.cc.

§ operator=() [1/2]

DrmInfo & shaka::DrmInfo::operator= ( const DrmInfo )
default

§ operator=() [2/2]

DrmInfo & shaka::DrmInfo::operator= ( DrmInfo &&  )
default

§ persistent_state_required()

bool shaka::DrmInfo::persistent_state_required ( ) const

True if the application requires the key system to support persistent state, e.g., for persistent license storage.

Definition at line 104 of file manifest.cc.

§ video_robustness()

const std::string & shaka::DrmInfo::video_robustness ( ) const

A key-system-specific string that specifies a required security level.

Definition at line 112 of file manifest.cc.


The documentation for this class was generated from the following files: