Listener for receiving DRM related events.
More...
#include <drm_listener.h>
Listener for receiving DRM related events.
Definition at line 19 of file drm_listener.h.
◆ DRMListener()
Samsung::NaClPlayer::DRMListener::DRMListener |
( |
| ) |
|
|
protected |
The default constructor which creates listener not attached to the player
◆ OnInitdataLoaded()
virtual void Samsung::NaClPlayer::DRMListener::OnInitdataLoaded |
( |
DRMType |
drm_type, |
|
|
uint32_t |
init_data_size, |
|
|
const void * |
init_data |
|
) |
| |
|
pure 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. |
◆ OnLicenseRequest()
virtual void Samsung::NaClPlayer::DRMListener::OnLicenseRequest |
( |
uint32_t |
request_size, |
|
|
const void * |
request |
|
) |
| |
|
pure 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: