mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-24 17:35:10 +03:00
f53349fc93
Shaka in most of places normalizes tracks' language code to be compliant with ISO 639-1 when possible. However, it does not do that all the time (i.e. normalization is missing in MSS parser) and there is no way to get value that has been explicitly set in a manifest. Moreover, documentation is misleading, as it claims that value is taken directly from a manifest. Normalization should take place, specifically to easify PeriodCombiner algorithm and also to not break existing applications. However, original value can be desired for some implementations. This PR introduces new field to get original language value from the manifest.