mirror of
https://github.com/samsonjs/media.git
synced 2026-03-25 09:25:53 +00: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue