Shaka Player Embedded
|
#include <implementation_registry.h>
Static Public Member Functions | |
static void | AddImplementation (const std::string &key_system, std::shared_ptr< ImplementationFactory > factory) |
static std::shared_ptr< ImplementationFactory > | GetImplementation (const std::string &key_system) |
Defines a registry for implementations of EME. During system startup all implementations should be registered with this type to make them available.
These methods are thread-safe.
Definition at line 36 of file implementation_registry.h.
|
static |
Adds an EME implementation to the registry. This replaces any existing factory. Existing Implementation instances will remain alive and in use.
Definition at line 37 of file implementation_registry.cc.
|
static |
Definition at line 49 of file implementation_registry.cc.