Shaka Packager SDK
Public Member Functions | List of all members
shaka::RepresentationStateChangeListener Class Referenceabstract

Public Member Functions

virtual void OnNewSegmentForRepresentation (int64_t start_time, int64_t duration)=0
 
virtual void OnSetFrameRateForRepresentation (int32_t frame_duration, int32_t timescale)=0
 

Detailed Description

Definition at line 27 of file representation.h.

Member Function Documentation

◆ OnNewSegmentForRepresentation()

virtual void shaka::RepresentationStateChangeListener::OnNewSegmentForRepresentation ( int64_t  start_time,
int64_t  duration 
)
pure virtual

Notifies the instance that a new (sub)segment was added to the Representation.

Parameters
start_timeis the start time of the new segment.
durationis the duration of the new segment.

◆ OnSetFrameRateForRepresentation()

virtual void shaka::RepresentationStateChangeListener::OnSetFrameRateForRepresentation ( int32_t  frame_duration,
int32_t  timescale 
)
pure virtual

Notifies the instance that the frame rate was set for the Representation.

Parameters
frame_durationis the duration of a frame.
timescaleis the timescale of the Representation.

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