fix(android): fix tracks selection
This commit is contained in:
parent
7cd164ea2c
commit
8c95464788
@ -1687,6 +1687,7 @@ class ReactExoplayerView extends FrameLayout implements
|
|||||||
DefaultTrackSelector.Parameters selectionParameters = trackSelector.getParameters()
|
DefaultTrackSelector.Parameters selectionParameters = trackSelector.getParameters()
|
||||||
.buildUpon()
|
.buildUpon()
|
||||||
.setRendererDisabled(rendererIndex, false)
|
.setRendererDisabled(rendererIndex, false)
|
||||||
|
.clearOverridesOfType(selectionOverride.getType())
|
||||||
.addOverride(selectionOverride)
|
.addOverride(selectionOverride)
|
||||||
.build();
|
.build();
|
||||||
trackSelector.setParameters(selectionParameters);
|
trackSelector.setParameters(selectionParameters);
|
||||||
|
Loading…
Reference in New Issue
Block a user