Pepper_56_C++_interfaces
Pepper_56_C++_interfaces
|
#include <drm_listener_samsung.h>
Public Member Functions | |
virtual void | OnInitdataLoaded (PP_MediaPlayerDRMType drm_type, uint32_t init_data_size, const void *init_data) |
virtual void | OnLicenseRequest (uint32_t request_size, const void *request) |
Protected Member Functions | |
DRMListener_Samsung () | |
DRMListener_Samsung (MediaPlayer_Samsung *player) | |
Constructor which creates listener attached to the |player|. | |
void | AttachTo (MediaPlayer_Samsung *player) |
Attaches listener to the |player|. | |
Listener for receiving DRM related events.
All event methods will be called on the same thread. If this class was created on a thread with a running message loop, the event methods will run on this thread. Otherwise, they will run on the main thread.
|
protected |
The default constructor which creates listener not attached to the player
|
virtual |
During parsing media container encrypted track was found.
[in] | drm_type | A type of DRM system |
[in] | init_data_size | Size in bytes of |init_data| buffer. |
[in] | init_data | A pointer to the buffer containing DRM specific initialization data. |
|
virtual |
Decryption license needs to be requested from the server and provided to the player.
[in] | request_size | Size in bytes of |request| buffer. |
[in] | request | A pointer to the buffer containing DRM specific request. |