Pepper_47_C++_interfaces
|
#include <drm_listener_samsung.h>
Public Member Functions | |
virtual | ~DRMListener_Samsung () |
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|. More... | |
void | AttachTo (MediaPlayer_Samsung *player) |
Attaches listener to the |player|. More... | |
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.
Definition at line 23 of file drm_listener_samsung.h.
|
virtual |
Definition at line 52 of file drm_listener_samsung.cc.
|
protected |
The default constructor which creates listener not attached to the player
Definition at line 66 of file drm_listener_samsung.cc.
|
explicitprotected |
Constructor which creates listener attached to the |player|.
Definition at line 69 of file drm_listener_samsung.cc.
References AttachTo().
|
protected |
Attaches listener to the |player|.
Definition at line 74 of file drm_listener_samsung.cc.
References pp::Resource::pp_resource().
Referenced by DRMListener_Samsung().
|
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. |
Definition at line 56 of file drm_listener_samsung.cc.
|
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. |
Definition at line 62 of file drm_listener_samsung.cc.