Shaka Packager SDK
|
Classes | |
class | ClusterParser |
Public Types | |
enum | KeyFrameFlag { kKeyFrame , kNotKeyFrame } |
enum | SideDataFlag { kGenerateSideData , kNoSideData } |
Protected Member Functions | |
void | SetUp () override |
void | TearDown () override |
template<typename S > | |
void | CreateAndInitializeSegmenter (const MuxerOptions &options, const StreamInfo &info, std::unique_ptr< webm::Segmenter > *result) const |
Creates a Segmenter of the given type and initializes it. | |
std::shared_ptr< MediaSample > | CreateSample (KeyFrameFlag key_frame_flag, int64_t duration, SideDataFlag side_data_flag) |
Creates a new media sample. | |
MuxerOptions | CreateMuxerOptions () const |
Creates a Muxer options object for testing. | |
VideoStreamInfo * | CreateVideoStreamInfo (int32_t time_scale) const |
Creates a video stream info object for testing. | |
std::string | OutputFileName () const |
Gets the file name of the current output file. | |
std::string | TemplateFileName (int number) const |
Gets the file name of the given template file. | |
void | set_cur_timestamp (int64_t timestamp) |
Protected Attributes | |
std::string | output_file_name_ |
std::string | segment_template_ |
int64_t | cur_timestamp_ |
bool | single_segment_ |
Definition at line 28 of file segmenter_test_base.h.