add check to ensure single track selection
This commit is contained in:
parent
57d90f30a8
commit
8a671c1cfe
@ -1075,6 +1075,7 @@ public final class DefaultTrackSelectorTest {
|
|||||||
periodId,
|
periodId,
|
||||||
TIMELINE);
|
TIMELINE);
|
||||||
|
|
||||||
|
assertThat(result.selections.get(0).length()).isEqualTo(1);
|
||||||
assertThat(result.selections.get(0).getSelectedFormat()).isEqualTo(lowerBitrateFormat);
|
assertThat(result.selections.get(0).getSelectedFormat()).isEqualTo(lowerBitrateFormat);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1101,6 +1102,7 @@ public final class DefaultTrackSelectorTest {
|
|||||||
periodId,
|
periodId,
|
||||||
TIMELINE);
|
TIMELINE);
|
||||||
|
|
||||||
|
assertThat(result.selections.get(0).length()).isEqualTo(1);
|
||||||
assertThat(result.selections.get(0).getSelectedFormat()).isEqualTo(higherBitrateFormat);
|
assertThat(result.selections.get(0).getSelectedFormat()).isEqualTo(higherBitrateFormat);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user