Listener for receiving elementary stream related events.
More...
#include <elementary_stream_listener.h>
Listener for receiving elementary stream related events.
Definition at line 19 of file elementary_stream_listener.h.
◆ ElementaryStreamListener()
Samsung::NaClPlayer::ElementaryStreamListener::ElementaryStreamListener |
( |
| ) |
|
|
protected |
The default constructor which creates listener not attached to the player
◆ OnEnoughData()
virtual void Samsung::NaClPlayer::ElementaryStreamListener::OnEnoughData |
( |
| ) |
|
|
pure virtual |
Event is fired when internal queue is full. Application should stop pushing buffers.
◆ OnNeedData()
virtual void Samsung::NaClPlayer::ElementaryStreamListener::OnNeedData |
( |
int32_t |
bytes | ) |
|
|
pure virtual |
Event is fired when internal queue is running out of data.
- Parameters
-
[in] | bytes | The meaning of this parameter is different depending on platform. On Tizen 2.4 and Tizen 3.0 it is amount of empty space in player's internal buffer. Since Tizen 4.0 it is amount of data left in the buffer. Please note that values passed in this parameter are approximate and can be safely ignored in most buffering scenarios. |
◆ OnSeekData()
virtual void Samsung::NaClPlayer::ElementaryStreamListener::OnSeekData |
( |
TimeTicks |
new_position | ) |
|
|
pure virtual |
Event is fired to notify application to change position of the stream. After receiving this event, application should push buffers from the new position.
- Parameters
-
[in] | new_position | The new position in the stream. |
The documentation for this class was generated from the following file: