mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-26 17:46:26 +03:00
5e3db78a5e
In our streams we have guarantee that every track will have a single match in every period. This change allows `PeriodCombiner` to take benefit of this knowledge. I was testing `PeriodCombiner.combinePeriods()` performance of mentioned changes on Tizen 2021 on 2 streams and I've got following results: | content | upstream | proposed changes | | - | -: | -: | | stream 1 | 17 ms | 12 ms | | stream 2 | 191 ms | 98 ms | Both streams are VOD. Stream 1 has 18 periods with 6 video & audio tracks in each. Stream 2 has 18 periods with 6 video tracks & 36 audio tracks in each.