videojs / http-streaming

HLS, DASH, and future HTTP streaming protocols library for video.js
https://videojs-http-streaming.netlify.app/
Other
2.53k stars 425 forks source link

MP3/HLS initialization error (video.js v7.20.3) #1359

Closed gjactat closed 1 year ago

gjactat commented 1 year ago

Description

Using video.js v7.20.3, MP3/HLS audio playback fails with an error (VIDEOJS: ERROR: (CODE:3 MEDIA_ERR_DECODE) Playback cannot continue. No available working or supported playlists).

The same stream is successfully played when I include the plugin "videojs-hlsjs-plugin.js". Which seems a bit strange because HLS is fully supported without any additional plugin since v7.

Sources

These two Codepens only differs from the included set of javascript files (see menu settings > JS)

Question

Do I still need to include "videojs-hlsjs-plugin.js" or maybe there is something wrong with the stream ?

welcome[bot] commented 1 year ago

👋 Thanks for opening your first issue here! 👋

If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. To help make it easier for us to investigate your issue, please follow the contributing guidelines.

mister-ben commented 1 year ago

Unfortunately HLS with MP3 audio is not supported.

gkatsev commented 1 year ago

theoretically, might work if it's wrapped in an mp4 rather than an mp3 directly.

gjactat commented 1 year ago

Thank you for your answers. For now, I will continue to include "videojs-hlsjs-plugin". I'll keep an eye on the changelogs and test from time to time to see if it's still necessary.