media/extensions
andrewlewis 8d47209a46 Make video playback smoother at the beginning
Video renderers assume that the player position is advancing linearly while in
the started state. MediaCodecVideoRenderer schedules frames for rendering in the
future in the expectation that the player position is advancing.

This assumption is not currently true when using a position from the AudioTrack:
the player position can be fixed for (in the worst case) up to about 100 ms
before it starts increasing. This leads to an effect where the first frame is
rendered then a few other frames are rendered, then there's a pause before
frames start being rendered smoothly.

Work around this issue by checking whether the position has started advancing
before scheduling frames to be rendered in the future.

It might be preferable to make the audio renderer only become ready when its
timestamp can start advancing, but this is likely to be complicated.

Issue: #3841

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=190937429
2018-03-29 17:55:01 +01:00
..
cast Remove "r" from instructions for extension modules 2018-03-07 15:24:33 +00:00
cronet Migrate ExoPlayer Gradle build files. 2018-03-02 09:20:02 +00:00
ffmpeg Update Ffmpeg README with supported NDK versions disclaimer. 2018-03-29 13:30:24 +01:00
flac Fix "FLAC decoder input buffer too small" issue 2018-03-29 13:32:05 +01:00
gvr Clean up AudioProcessor implementations 2018-03-29 13:47:19 +01:00
ima Remove "r" from instructions for extension modules 2018-03-07 15:24:33 +00:00
jobdispatcher Remove "r" from instructions for extension modules 2018-03-07 15:24:33 +00:00
leanback Remove "r" from instructions for extension modules 2018-03-07 15:24:33 +00:00
mediasession Omit fast forward and rewind actions when current window is not seekable 2018-03-28 00:12:21 +01:00
okhttp Remove "r" from instructions for extension modules 2018-03-07 15:24:33 +00:00
opus Migrate ExoPlayer Gradle build files. 2018-03-02 09:20:02 +00:00
rtmp Remove "r" from instructions for extension modules 2018-03-07 15:24:33 +00:00
vp9 Make video playback smoother at the beginning 2018-03-29 17:55:01 +01:00
README.md Tweak and add READMEs + remove refs to V1 2017-08-17 22:59:34 +01:00

ExoPlayer extensions

ExoPlayer extensions are modules that depend on external libraries to provide additional functionality. Browse the individual extensions and their READMEs to learn more.