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