mirror of
https://github.com/androidx/media.git
synced 2025-05-07 07:30:22 +08:00

Currently, pending stream offset changes are kept until an output buffer timestamp surpasses the next pending stream offset. However, this is problematic if the next stream offset overlaps with the current output buffer sample times (e.g. because the next stream starts at a non-zero start time). To correctly time the switch to the next stream offset, this change keeps the timestamp of the last queued input sample as switch point. And we only switch to the new offset after an output sample timestamp reached this switch point. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=192736637
ExoPlayer library
The ExoPlayer library is split into multiple modules. See ExoPlayer's top level README for more information about the available library modules and how to use them.