Listener for receiving DRM related events.
More...
#include <drm_listener_samsung.h>
Listener for receiving DRM related events.
Definition at line 19 of file drm_listener_samsung.h.
virtual pp::DRMListener_Samsung::~DRMListener_Samsung |
( |
| ) |
|
|
virtual |
pp::DRMListener_Samsung::DRMListener_Samsung |
( |
| ) |
|
|
protected |
The default constructor which creates listener not attached to the player
Constructor which creates listener attached to the |player|.
Attaches listener to the |player|.
virtual void pp::DRMListener_Samsung::OnInitdataLoaded |
( |
PP_MediaPlayerDRMType |
drm_type, |
|
|
uint32_t |
init_data_size, |
|
|
const void * |
init_data |
|
) |
| |
|
virtual |
During parsing media container encrypted track was found.
- Parameters
-
[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 void pp::DRMListener_Samsung::OnLicenseRequest |
( |
uint32_t |
request_size, |
|
|
const void * |
request |
|
) |
| |
|
virtual |
Decryption license needs to be requested from the server and provided to the player.
- Parameters
-
[in] | request_size | Size in bytes of |request| buffer. |
[in] | request | A pointer to the buffer containing DRM specific request. |
The documentation for this class was generated from the following file: