Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio only MPD cannot be converted using toM3u8 #93

Closed
TcT2k opened this issue Mar 6, 2020 · 0 comments · Fixed by #123
Closed

Audio only MPD cannot be converted using toM3u8 #93

TcT2k opened this issue Mar 6, 2020 · 0 comments · Fixed by #123

Comments

@TcT2k
Copy link

TcT2k commented Mar 6, 2020

I'm trying to load an audio only MPD in video.js using http-streaming.

I've traced down the issue to the following line in the mpd-parser :

playlists: addSegmentInfoFromSidx(videoPlaylists, sidxMapping),

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant