mirror of
https://github.com/androidx/media.git
synced 2025-05-03 20:49:48 +08:00

- For audio/video, we should report the minimum largest queued timestamp. This ensures that buffering continues rather than stops in the case of bad sample interleaving. - If there are "sparse" tracks then they should be ignored for this calculation, otherwise the buffered position can end up getting stuck at some small value (e.g. if there's a text track containing a single sample with a small timestamp). - In the edge case that there are only "sparse" tracks, we probably want to take the maximum largest queued time instead. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=130094266