master.playlists is only initialized from the videoPlaylists (which are empty on an audio only MPD). I've tried simply adding addSegmentInfoFromSidx(audioPlaylists, sidxMapping) as a quick workaround in the debugger, but that crashes the tab in chrome and triggers out of memory on firefox (after some time).
I'll try to investigate this further but would be thankful for any input regarding the issue.
I'm trying to load an audio only MPD in
video.js
usinghttp-streaming
.I've traced down the issue to the following line in the mpd-parser : https://github.com/videojs/mpd-parser/blob/c4c0418b0fe10d78fa43ab4e24220c032b525752/src/toM3u8.js#L271
master.playlists
is only initialized from thevideoPlaylists
(which are empty on an audio only MPD). I've tried simply addingaddSegmentInfoFromSidx(audioPlaylists, sidxMapping)
as a quick workaround in the debugger, but that crashes the tab in chrome and triggers out of memory on firefox (after some time). I'll try to investigate this further but would be thankful for any input regarding the issue.