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()
|
||||
.buildUpon()
|
||||
.setRendererDisabled(rendererIndex, false)
|
||||
.clearOverridesOfType(selectionOverride.getType())
|
||||
.addOverride(selectionOverride)
|
||||
.build();
|
||||
trackSelector.setParameters(selectionParameters);
|
||||
|
Loading…
Reference in New Issue
Block a user