54 ret.start = impl_->start;
62 const std::vector<shaka::BufferedRange> total{};
63 const std::vector<shaka::BufferedRange> audio{};
64 const std::vector<shaka::BufferedRange> video{};
65 const std::vector<shaka::BufferedRange> text{};
103 for (
const auto& item : impl_->total) {
104 ret.total.emplace_back(item.GetInternal());
106 for (
const auto& item : impl_->audio) {
107 ret.audio.emplace_back(item.GetInternal());
109 for (
const auto& item : impl_->video) {
110 ret.video.emplace_back(item.GetInternal());
112 for (
const auto& item : impl_->text) {
113 ret.text.emplace_back(item.GetInternal());
121 const std::string language{};
122 const std::string role{};
140 return impl_->language;
150 ret.language = impl_->language;
151 ret.role = impl_->role;
js::BufferedInfo GetInternal() const
BufferedInfo & operator=(const BufferedInfo &)
Impl(js::LanguageRole &&internal)
js::LanguageRole GetInternal() const
Impl(js::BufferedRange &&internal)
js::BufferedRange GetInternal() const
const std::vector< shaka::BufferedRange > & total() const
const std::vector< shaka::BufferedRange > & audio() const
const std::string & language() const
const std::vector< shaka::BufferedRange > & text() const
Impl(js::BufferedInfo &&internal)
LanguageRole & operator=(const LanguageRole &)
BufferedRange & operator=(const BufferedRange &)
const std::vector< shaka::BufferedRange > & video() const
const std::string & role() const