#include <clearkey_implementation_factory.h>
§ ClearKeyImplementationFactory()
shaka::eme::ClearKeyImplementationFactory::ClearKeyImplementationFactory |
( |
| ) |
|
|
inline |
§ CreateImplementation()
Creates a new instance of the implementation. The arguments have already been filtered according to the support methods. This should verify that the arguments are compatible with the implementation. If the implementation doesn't support the given arguments, it MUST return nullptr.
- Parameters
-
helper | The helper instance used to callback to JavaScript. |
distinctive_identifier | The distinctive identifier requirement. |
persistent_state | The persistent state requirement. |
audio_robustness | The audio robustness requirements. |
video_robustness | The video robustness requirements. |
- Returns
- A new implementation instance, or nullptr if not supported.
Implements shaka::eme::ImplementationFactory.
Definition at line 53 of file clearkey_implementation_factory.cc.
§ DistinctiveIdentifier()
§ PersistentState()
§ SupportsAudioRobustness()
bool shaka::eme::ClearKeyImplementationFactory::SupportsAudioRobustness |
( |
const std::string & |
robustness | ) |
const |
|
overridevirtual |
§ SupportsInitDataType()
bool shaka::eme::ClearKeyImplementationFactory::SupportsInitDataType |
( |
MediaKeyInitDataType |
type | ) |
const |
|
overridevirtual |
§ SupportsSessionType()
bool shaka::eme::ClearKeyImplementationFactory::SupportsSessionType |
( |
MediaKeySessionType |
type | ) |
const |
|
overridevirtual |
§ SupportsVideoRobustness()
bool shaka::eme::ClearKeyImplementationFactory::SupportsVideoRobustness |
( |
const std::string & |
robustness | ) |
const |
|
overridevirtual |
§ kKeySystemName
constexpr const char* shaka::eme::ClearKeyImplementationFactory::kKeySystemName = "org.w3.clearkey" |
|
static |
The documentation for this class was generated from the following files: