-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Description
What version of Hls.js are you using?
latest
What browser (including version) are you using?
chrome
What OS (including version) are you using?
macOS
Test stream
https://test-streams.mux.dev/x36xhzz/url_8/193039199_mp4_h264_aac_fhd_7.m3u8
Configuration
class fLoader extends Hls.DefaultConfig.loader {
constructor(config) {
super(config);
var load = this.load.bind(this);
this.load = function (context, config, callbacks) {
var onSuccess = callbacks.onSuccess;
callbacks.onSuccess = function (response, stats, context) {
console.warn(`byteLength ${response.data.byteLength}`)
onSuccess(response, stats, context);
};
load(context, config, callbacks);
};
}
}
var hls = new Hls({
fLoader,
});Additional player setup steps
No response
Checklist
- The issue observed is not already reported by searching on Github under https://github.com/video-dev/hls.js/issues
- The issue occurs in the stable client (latest release) on https://hls-js.netlify.com/demo and not just on my page
- The issue occurs in the latest client (main branch) on https://hls-js-dev.netlify.com/demo and not just on my page
- The stream has correct Access-Control-Allow-Origin headers (CORS)
- There are no network errors such as 404s in the browser console when trying to play the stream
Steps to reproduce
- set floader
- play the stream
Expected behaviour
response.data.byteLength is > 0
What actually happened?
response.data.byteLength == 0
Console output
byteLength 0Chrome media internals output
No response
Reactions are currently unavailable