Open shun115 opened 1 year ago
Error: [[object Object]] This demuxer does not support Sample-AES decryption
Identity Sample-AES is only supported with MPEG-2 Transport Stream with the TS demuxer. Other file formats (container-less audio files and mp4 container) are not supported.
If you intend to use Sample-AES without DRM in HLS.js, regardless of whether you are packaging audio and/or video, you need to output TS segments, or contribute support via a PR that can be added in a future release.
@robwalch thank you for your reply.
Identity Sample-AES is only supported with MPEG-2 Transport Stream with the TS demuxer. Other file formats (container-less audio files and mp4 container) are not supported.
We tests M2TS container with AAC encoded audio only streaming, but same error occurs.
We tests M2TS container with AAC encoded audio only streaming, but same error occurs. https://tinyurl.com/2akhb5v2
HLS.js is choosing the MP3 demuxer when probing these segments (similar to #5002). If you can remove the non-mp2ts bytes at the start of your segments then SAMPLE-AES with TS does work in 1.2.4. Otherwise wait for fix #5006 in 1.2.5 or use <=1.2.1 (does not address SAMPLE-AES identity with other segment types).
What version of Hls.js are you using?
v1.2.4
What browser (including version) are you using?
chrome 106.0.5249.119
What OS (including version) are you using?
macOS 12.6(21G115)
Test stream
https://tinyurl.com/5yvepxmy
Configuration
Additional player setup steps
No response
Checklist
Steps to reproduce
Expected behaviour
we can play audio.
What actually happened?
exception occured.
Console output
Chrome media internals output
No response