Hls.js: HLSjs support of audio only HLS stream

Created on 2 Jan 2018  路  1Comment  路  Source: video-dev/hls.js

I'm reading about HLS and it seems it can play audio only playlists, however I don't see this mentioned anywhere in the HLSJS docs, I only see:

hls.js does not need any player, it works directly on top of a standard HTML<video>element.

Is there any documentation on how to use hls.js with an audio tag, or if that's possible? Thanks!

Most helpful comment

@mayeaux Audio-only is supported, for example with AAC or MP3 packaged in TS, or as elementary with these codecs. In principle, also MP4 package streams would be supported.

Try out your stream and let us know if it doesn't work. We have a few audio-only streams part of our test-suite, of which we know they work, so you can then compare.

>All comments

@mayeaux Audio-only is supported, for example with AAC or MP3 packaged in TS, or as elementary with these codecs. In principle, also MP4 package streams would be supported.

Try out your stream and let us know if it doesn't work. We have a few audio-only streams part of our test-suite, of which we know they work, so you can then compare.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

phillydogg28 picture phillydogg28  路  4Comments

sbrez picture sbrez  路  3Comments

itsjamie picture itsjamie  路  3Comments

ronag picture ronag  路  4Comments

krsvital picture krsvital  路  3Comments