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:
parent
c36a9cf2ef
commit
2072793ae3
@ -984,7 +984,9 @@ class ReactExoplayerView extends FrameLayout implements
|
|||||||
tracks[j] = j;
|
tracks[j] = j;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (groupIndex == C.INDEX_UNSET) {
|
}
|
||||||
|
|
||||||
|
if (groupIndex == C.INDEX_UNSET) {
|
||||||
trackSelector.setParameters(disableParameters);
|
trackSelector.setParameters(disableParameters);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user