15 #ifndef SHAKA_EMBEDDED_JS_MSE_MEDIA_TRACK_H_ 16 #define SHAKA_EMBEDDED_JS_MSE_MEDIA_TRACK_H_ 32 explicit MediaTrack(std::shared_ptr<media::MediaTrack> track);
35 const std::string&
label()
const;
37 const std::string&
id()
const;
43 std::shared_ptr<media::MediaTrack> track_;
82 AddMapping(Enum::Alternative,
"alternative");
83 AddMapping(Enum::Captions,
"captions");
84 AddMapping(Enum::Descriptions,
"descriptions");
85 AddMapping(Enum::Main,
"main");
86 AddMapping(Enum::MainDesc,
"main-desc");
87 AddMapping(Enum::Sign,
"sign");
88 AddMapping(Enum::Subtitles,
"subtitles");
89 AddMapping(Enum::Translation,
"translation");
90 AddMapping(Enum::Commentary,
"commentary");
93 #endif // SHAKA_EMBEDDED_JS_MSE_MEDIA_TRACK_H_
#define DECLARE_TYPE_INFO(type)