-
Notifications
You must be signed in to change notification settings - Fork 6k
Open
Labels
Description
tried using track selector & load control but still facing the issue of repeating frame for few seconds and then again stops
val loadControl = DefaultLoadControl.Builder()
.setAllocator(DefaultAllocator(true,16))
.setBufferDurationsMs(32*1024, 64*1024, 1024, 1024)
.setTargetBufferBytes(-1).setPrioritizeTimeOverSizeThresholds(true).createDefaultLoadControl()
val trackSelectorParameters = DefaultTrackSelector.ParametersBuilder()
.setMaxVideoBitrate(5000)
.setMaxAudioBitrate(5000)
.build()
exoPlayer =
ExoPlayer.Builder(this).setSeekBackIncrementMs(10000).setSeekForwardIncrementMs(10000)
.setTrackSelector(trackSelector)
.setLoadControl(loadControl)
.build()
can anyone please provide solution for this bug