Skip to content

Commit 370b042

Browse files
authored
fix(UI): Filter audio qualities when bandwidth is missing (#8650)
Note: This only applies to audio-only streams.
1 parent c19cbaf commit 370b042

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ui/resolution_selection.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,9 @@ shaka.ui.ResolutionSelection = class extends shaka.ui.SettingsMenu {
315315
track.label != selectedTrack.label) {
316316
return false;
317317
}
318+
if (!track.bandwidth) {
319+
return false;
320+
}
318321
return true;
319322
});
320323
}

0 commit comments

Comments
 (0)