Commit e4cc2d6a by olly Committed by Oliver Woodman

Set allowedVideoJoiningTimeMs to 0 to fix playback test failures

It defaults to 5000, which allows frames to be dropped in an
attempt to seamlessly rejoin when re-enabling video during an
ongoing playback. This causes performance failures when running
the test*AdaptiveWithRendererDisabling playback tests.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=133105110
parent 56007168
......@@ -311,7 +311,7 @@ public abstract class ExoHostedTest implements HostedTest, ExoPlayer.EventListen
protected SimpleExoPlayer buildExoPlayer(HostActivity host, Surface surface,
MappingTrackSelector trackSelector, DrmSessionManager drmSessionManager) {
SimpleExoPlayer player = ExoPlayerFactory.newSimpleInstance(host, trackSelector,
new DefaultLoadControl(), drmSessionManager);
new DefaultLoadControl(), drmSessionManager, false, 0);
player.setVideoSurface(surface);
return player;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment