Files
shaka-player/lib
Denis Seleznev b75cd4c38d fix: Fix codec choice when resolutions differ (#3072)
Before this change, our codec choice only worked when all codecs had the same resolutions available.

When one codec had a different set of resolutions available, we might end up choosing the wrong one.  This is because our choice was based on the average bandwidth of all resolutions for that codec.  So a "better" codec with higher resolutions available would also end up having a higher average bitrate, and would be avoided.

This fixes the issue by only considering the resolutions that all codecs have in common, then taking the average bitrate among those to choose a codec.
2021-02-24 10:43:48 -08:00
..
2021-01-09 02:00:31 +00:00
2021-01-09 02:00:31 +00:00
2021-02-01 23:36:12 +00:00
2020-07-16 10:59:49 -07:00
2020-07-16 10:59:49 -07:00