Public Member Functions | Protected Member Functions | List of all members
pp::ElementaryStreamListener_Samsung Class Referenceabstract

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

#include <elementary_stream_listener_samsung.h>

Collaboration diagram for pp::ElementaryStreamListener_Samsung:
Collaboration graph

Public Member Functions

virtual ~ElementaryStreamListener_Samsung ()
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.

Definition at line 16 of file elementary_stream_listener_samsung.h.

Constructor & Destructor Documentation

virtual pp::ElementaryStreamListener_Samsung::~ElementaryStreamListener_Samsung ( )
pp::ElementaryStreamListener_Samsung::ElementaryStreamListener_Samsung ( )

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: