7 #ifndef PACKAGER_MEDIA_BASE_TEXT_STREAM_INFO_H_
8 #define PACKAGER_MEDIA_BASE_TEXT_STREAM_INFO_H_
10 #include "packager/media/base/stream_info.h"
33 const std::string& codec_string,
34 const std::string& language,
35 const std::string& codec_config,
41 uint16_t width()
const {
return width_; }
42 uint16_t height()
const {
return height_; }
57 #endif // PACKAGER_MEDIA_BASE_TEXT_STREAM_INFO_H_
TextStreamInfo(int track_id, uint32_t time_scale, uint64_t duration, const std::string &codec_string, const std::string &language, const std::string &codec_config, uint16_t width, uint16_t height)
bool IsValidConfig() const override