mirror of
https://github.com/androidx/media.git
synced 2025-05-18 13:09:56 +08:00

Currently, MediaCodecRenderer's render loop does not have any time limit. We always try to drain and feed as much buffers as possible. This may lead to a pattern of feeding phase takes too much time from previous loop, which makes the next draining phase drops all buffers, making these buffers available for feeding all at once, and the pattern keeps repeating. This CL adds an experimental parameter for setting a time limit. If the time limit is exceeded, the feeding process stops even if more input could be fed. The default behavior is unchanged ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=219820386
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.