mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
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
This commit is contained in:
parent
560071683f
commit
e4cc2d6acd
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user