Shaka Packager SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
Static Public Member Functions | Public Attributes | List of all members
shaka::media::StreamData Struct Reference

Static Public Member Functions

static std::unique_ptr
< StreamData
FromPeriodInfo (size_t stream_index, std::shared_ptr< const PeriodInfo > period_info)
 
static std::unique_ptr
< StreamData
FromStreamInfo (size_t stream_index, std::shared_ptr< const StreamInfo > stream_info)
 
static std::unique_ptr
< StreamData
FromMediaSample (size_t stream_index, std::shared_ptr< const MediaSample > media_sample)
 
static std::unique_ptr
< StreamData
FromTextSample (size_t stream_index, std::shared_ptr< const TextSample > text_sample)
 
static std::unique_ptr
< StreamData
FromMediaEvent (size_t stream_index, std::shared_ptr< const MediaEvent > media_event)
 
static std::unique_ptr
< StreamData
FromSegmentInfo (size_t stream_index, std::shared_ptr< const SegmentInfo > segment_info)
 

Public Attributes

size_t stream_index = static_cast<size_t>(-1)
 
StreamDataType stream_data_type = StreamDataType::kUnknown
 
std::shared_ptr< const PeriodInfoperiod_info
 
std::shared_ptr< const StreamInfostream_info
 
std::shared_ptr< const
MediaSample
media_sample
 
std::shared_ptr< const TextSampletext_sample
 
std::shared_ptr< const MediaEventmedia_event
 
std::shared_ptr< const
SegmentInfo
segment_info
 

Detailed Description

Definition at line 47 of file media_handler.h.


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