Pepper_56_C++_interfaces
Pepper_56_C++_interfaces
 All Classes Namespaces Files Functions Typedefs Enumerations Macros Groups
pp::ElementaryStreamListener_Samsung Class Referenceabstract

Listener for receiving elementary stream related events. More...

#include <elementary_stream_listener_samsung.h>

Public Member Functions

virtual void OnNeedData (int32_t bytes_max)=0
 
virtual void OnEnoughData ()=0
 
virtual void OnSeekData (PP_TimeTicks new_position)=0
 

Protected Member Functions

 ElementaryStreamListener_Samsung ()
 

Detailed Description

Listener for receiving elementary stream related events.

Constructor & Destructor Documentation

pp::ElementaryStreamListener_Samsung::ElementaryStreamListener_Samsung ( )
protected

The default constructor which creates listener not attached to the player

Member Function Documentation

virtual void pp::ElementaryStreamListener_Samsung::OnEnoughData ( )
pure virtual

Event is fired when internal queue is full. Application should stop pushing buffers.

virtual void pp::ElementaryStreamListener_Samsung::OnNeedData ( int32_t  bytes_max)
pure virtual

Event is fired when internal queue is running out of data. Application should start pushing more data via ElementaryStream_Samsung::AppendPacket or ElementaryStream_Samsung::AppendEncryptedPacket function.

virtual void pp::ElementaryStreamListener_Samsung::OnSeekData ( PP_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.


The documentation for this class was generated from the following file: