7 #include "packager/media/base/text_stream_info.h"
14 const std::string& codec_string,
15 const std::string& codec_config, uint16_t width,
16 uint16_t height,
const std::string& language)
17 :
StreamInfo(kStreamText, track_id, time_scale, duration, kCodecText,
19 reinterpret_cast<const uint8_t*>(codec_config.data()),
20 codec_config.size(), language, false),
24 TextStreamInfo::~TextStreamInfo() {}
TextStreamInfo(int track_id, uint32_t time_scale, uint64_t duration, const std::string &codec_string, const std::string &codec_config, uint16_t width, uint16_t height, const std::string &language)
bool IsValidConfig() const override