Fix Android audio crash
Why: * There is a case where groupIndex may be unset This change addresses the need by: * Don't chain check for INDEX_UNSET to previous conditional
This commit is contained in:
@@ -984,7 +984,9 @@ class ReactExoplayerView extends FrameLayout implements
|
||||
tracks[j] = j;
|
||||
}
|
||||
}
|
||||
} else if (groupIndex == C.INDEX_UNSET) {
|
||||
}
|
||||
|
||||
if (groupIndex == C.INDEX_UNSET) {
|
||||
trackSelector.setParameters(disableParameters);
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user