Fix(android): allow to select tracks with exceeded capabilities for more flexibility (#3791)
* perf: ensure we do not provide callback to native if no callback provided from app * chore: rework bufferConfig to make it more generic and reduce ReactExoplayerView code size * chore: improve issue template * fix(android): avoid video view flickering at playback startup * fix: allow to select Exceeded Constraints tracks for more playback flexibilities
This commit is contained in:
parent
77f7255c72
commit
d272a86f20
@ -1978,6 +1978,9 @@ public class ReactExoplayerView extends FrameLayout implements
|
||||
|
||||
DefaultTrackSelector.Parameters selectionParameters = trackSelector.getParameters()
|
||||
.buildUpon()
|
||||
.setExceedAudioConstraintsIfNecessary(true)
|
||||
.setExceedRendererCapabilitiesIfNecessary(true)
|
||||
.setExceedVideoConstraintsIfNecessary(true)
|
||||
.setRendererDisabled(rendererIndex, false)
|
||||
.clearOverridesOfType(selectionOverride.getType())
|
||||
.addOverride(selectionOverride)
|
||||
|
Loading…
Reference in New Issue
Block a user