Shaka Packager SDK
Static Public Member Functions | Public Attributes | List of all members
shaka::media::StreamData Struct Reference

Static Public Member Functions

static std::unique_ptr< StreamDataFromStreamInfo (size_t stream_index, std::shared_ptr< const StreamInfo > stream_info)
 
static std::unique_ptr< StreamDataFromMediaSample (size_t stream_index, std::shared_ptr< const MediaSample > media_sample)
 
static std::unique_ptr< StreamDataFromTextSample (size_t stream_index, std::shared_ptr< const TextSample > text_sample)
 
static std::unique_ptr< StreamDataFromSegmentInfo (size_t stream_index, std::shared_ptr< const SegmentInfo > segment_info)
 
static std::unique_ptr< StreamDataFromScte35Event (size_t stream_index, std::shared_ptr< const Scte35Event > scte35_event)
 
static std::unique_ptr< StreamDataFromCueEvent (size_t stream_index, std::shared_ptr< const CueEvent > cue_event)
 

Public Attributes

size_t stream_index = static_cast<size_t>(-1)
 
StreamDataType stream_data_type = StreamDataType::kUnknown
 
std::shared_ptr< const StreamInfostream_info
 
std::shared_ptr< const MediaSamplemedia_sample
 
std::shared_ptr< const TextSampletext_sample
 
std::shared_ptr< const SegmentInfosegment_info
 
std::shared_ptr< const Scte35Eventscte35_event
 
std::shared_ptr< const CueEventcue_event
 

Detailed Description

Definition at line 67 of file media_handler.h.


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