Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 30cce6a9 authored by Tang Lee's avatar Tang Lee
Browse files

Push initial pair to frame map when track starts from PAUSED state

This makes the findX() return constant trackframe when the sinkframe
is between the pause and resumption. The application will not see
unexpected incrementing trackframe from getTimestamp() before the time
elapses by "output latency" after resumption.

This fixes AV desync observed in the first 10 seconds after resumption
in ExoPlayer demo app.

See go/exoplayer-resume-desync for more details.
Bug: 377842501
Test: observe no desync when resuming from ExoPlayer demo app
Flag: EXEMPT bugfix

Change-Id: Ic5cda8f8e06f1cc9a6f6494989f6c62b61127162
parent c81b2f9d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment