Commit 8a671c1c by Brandon Davis

add check to ensure single track selection

parent 57d90f30
......@@ -1075,6 +1075,7 @@ public final class DefaultTrackSelectorTest {
periodId,
TIMELINE);
assertThat(result.selections.get(0).length()).isEqualTo(1);
assertThat(result.selections.get(0).getSelectedFormat()).isEqualTo(lowerBitrateFormat);
}
......@@ -1101,6 +1102,7 @@ public final class DefaultTrackSelectorTest {
periodId,
TIMELINE);
assertThat(result.selections.get(0).length()).isEqualTo(1);
assertThat(result.selections.get(0).getSelectedFormat()).isEqualTo(higherBitrateFormat);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment