Sha256: 19b3828d8c8c3c97f04a23fedca2f3377b8bbaef2dfd29daf85609808b5471ae
Contents?: true
Size: 627 Bytes
Versions: 3
Compression:
Stored size: 627 Bytes
Contents
module DashTimelineValidator class Period def self.process(context, period, index) period_result = {} period_result["name"] = "Period-#{index}" DashTimelineValidator::Report.fill_report(period_result, period, "start", 0, :duration_iso8601_to_i) all_adaptation_sets = period.nodes.select { |n| n.name == "AdaptationSet" } period_result["adaptation_sets"] = all_adaptation_sets.each_with_index.map do |adaptation_set, i| DashTimelineValidator::AdaptationSet.process({root: context[:root], previous: period_result}, adaptation_set, i) end period_result end end end
Version data entries
3 entries across 3 versions & 1 rubygems