Skip to content

Commit 12ff826

Browse files
committed
fix: dash group changes should not stop playlist loader
1 parent 135bb9a commit 12ff826

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/media-groups.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ export const startLoaders = (playlistLoader, mediaType) => {
7070
* @function onGroupChanged
7171
*/
7272
export const onGroupChanged = (type, settings) => () => {
73+
if (settings.sourceType === 'dash') {
74+
// only one playlist loader for dash. do not stop.
75+
return;
76+
}
77+
7378
const {
7479
segmentLoaders: {
7580
[type]: segmentLoader,

0 commit comments

Comments
 (0)