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"
31 TextStreamInfo(
int track_id, uint32_t time_scale, uint64_t duration,
33 const std::string& codec_string,
34 const std::string& codec_config, uint16_t width,
35 uint16_t height,
const std::string& language);
41 uint16_t width()
const {
return width_; }
42 uint16_t height()
const {
return height_; }
54 #endif // PACKAGER_MEDIA_BASE_TEXT_STREAM_INFO_H_
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