Shaka Packager SDK
Loading...
Searching...
No Matches
Public Member Functions | List of all members
shaka::media::TextSample Class Reference

Public Member Functions

 TextSample (const std::string &id, int64_t start_time, int64_t end_time, const TextSettings &settings, const TextFragment &body)
 
const std::string & id () const
 
int64_t start_time () const
 
int64_t duration () const
 
const TextSettingssettings () const
 
const TextFragmentbody () const
 
int64_t EndTime () const
 
int32_t sub_stream_index () const
 
void set_sub_stream_index (int32_t idx)
 

Detailed Description

Definition at line 118 of file text_sample.h.

Constructor & Destructor Documentation

◆ TextSample()

shaka::media::TextSample::TextSample ( const std::string &  id,
int64_t  start_time,
int64_t  end_time,
const TextSettings settings,
const TextFragment body 
)

Definition at line 23 of file text_sample.cc.

Member Function Documentation

◆ body()

const TextFragment & shaka::media::TextSample::body ( ) const
inline

Definition at line 130 of file text_sample.h.

◆ duration()

int64_t shaka::media::TextSample::duration ( ) const
inline

Definition at line 128 of file text_sample.h.

◆ EndTime()

int64_t shaka::media::TextSample::EndTime ( ) const

Definition at line 34 of file text_sample.cc.

◆ id()

const std::string & shaka::media::TextSample::id ( ) const
inline

Definition at line 126 of file text_sample.h.

◆ set_sub_stream_index()

void shaka::media::TextSample::set_sub_stream_index ( int32_t  idx)
inline

Definition at line 134 of file text_sample.h.

◆ settings()

const TextSettings & shaka::media::TextSample::settings ( ) const
inline

Definition at line 129 of file text_sample.h.

◆ start_time()

int64_t shaka::media::TextSample::start_time ( ) const
inline

Definition at line 127 of file text_sample.h.

◆ sub_stream_index()

int32_t shaka::media::TextSample::sub_stream_index ( ) const
inline

Definition at line 133 of file text_sample.h.


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