Shaka Player Embedded
|
#include <implementation_helper_impl.h>
Public Member Functions | |
ImplementationHelperImpl (const std::string &key_system, MediaKeys *media_keys) | |
~ImplementationHelperImpl () override | |
std::string | DataPathPrefix () const override |
void | OnMessage (const std::string &session_id, MediaKeyMessageType message_type, const uint8_t *data, size_t data_size) const override |
void | OnKeyStatusChange (const std::string &session_id) const override |
Additional Inherited Members | |
![]() | |
ImplementationHelper () | |
virtual | ~ ImplementationHelper () |
ImplementationHelper (const ImplementationHelper &)=delete | |
ImplementationHelper & | operator= (const ImplementationHelper &)=delete |
ImplementationHelper (ImplementationHelper &&)=delete | |
ImplementationHelper & | operator= (ImplementationHelper &&)=delete |
The implementation of the ImplementationHelper type.
Definition at line 34 of file implementation_helper_impl.h.
shaka::js::eme::ImplementationHelperImpl::ImplementationHelperImpl | ( | const std::string & | key_system, |
MediaKeys * | media_keys | ||
) |
Definition at line 33 of file implementation_helper_impl.cc.
|
override |
Definition at line 39 of file implementation_helper_impl.cc.
|
overridevirtual |
Gets the directory on the filesystem that should be used for data storage. This directory is specific for this EME implementation, so any files in it are for this implementation. ALL data MUST be in this directory.
Implements shaka::eme::ImplementationHelper.
Definition at line 42 of file implementation_helper_impl.cc.
|
overridevirtual |
An event callback that should be called when the key status changes. This schedules a JavaScript event, but doesn't dispatch it.
session_id | The ID of the session whose key statuses changed. |
Implements shaka::eme::ImplementationHelper.
Definition at line 63 of file implementation_helper_impl.cc.
|
overridevirtual |
An event callback that should be called when a message should be sent to the JavaScript application. This only schedules a JavaScript event, it does not dispatch it.
session_id | The ID of the session that will receive the message. |
message_type | The type of the message. |
data | The data contents of the message. |
data_size | The number of bytes in |data|. |
Implements shaka::eme::ImplementationHelper.
Definition at line 51 of file implementation_helper_impl.cc.