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"
30 TextStreamInfo(
int track_id, uint32_t time_scale, uint64_t duration,
31 const std::string& codec_string,
32 const std::string& codec_config, uint16_t width,
33 uint16_t height,
const std::string& language);
37 uint16_t width()
const {
return width_; }
38 uint16_t height()
const {
return height_; }
53 #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 &codec_config, uint16_t width, uint16_t height, const std::string &language)
bool IsValidConfig() const override