What version of Hls.js are you using?
v1.6.11
What browser (including version) are you using?
Versão 139.0.7258.139 (Versão oficial) (arm64)
What OS (including version) are you using?
MAC Sequoia 15.6.1
Test stream
https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8
Configuration
{
"debug": true,
"enableWorker": true,
"lowLatencyMode": true,
"backBufferLength": 90
}
Additional player setup steps
hls.on(Hls.Events.MANIFEST_LOADED, (event, data) => {
const stats = data.stats;
if (stats && stats.parsing) {
console.log('parsing.start:', stats.parsing.start);
console.log('parsing.end:', stats.parsing.end); // Is zero to master
}
});
Checklist
Steps to reproduce
Steps to reproduce
- Load a master HLS manifest using Hls.js.
- Bind a listener to the
MANIFEST_LOADED event.
- Inspect the
stats object provided in the event callback.
- Observe that
stats.parsing.start is set, but stats.parsing.end is zero.
Additional notes:
- For a media playlist (level), both
parsing.start and parsing.end are set as expected.
- This behavior is consistent and occurs every time a master manifest is loaded.
Expected behaviour
Expected behaviour
stats.parsing.end should also be set for master playlists, just like it is for media playlists (levels).
- This would make the parsing stats consistent and allow proper performance tracking for all types of playlists.
What actually happened?
What actually happened?
- When loading a master playlist,
stats.parsing.start is set, but stats.parsing.end remains zero.
- For media playlists (levels), both
parsing.start and parsing.end are correctly set.
- This creates an inconsistency in the stats reporting, making it difficult to track parsing performance for master playlists.
Console output
parsing.start: 5246.0999999940395
parsing.end: 0
Chrome media internals output
What version of Hls.js are you using?
v1.6.11
What browser (including version) are you using?
Versão 139.0.7258.139 (Versão oficial) (arm64)
What OS (including version) are you using?
MAC Sequoia 15.6.1
Test stream
https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8
Configuration
Additional player setup steps
hls.on(Hls.Events.MANIFEST_LOADED, (event, data) => {
const stats = data.stats;
if (stats && stats.parsing) {
console.log('parsing.start:', stats.parsing.start);
console.log('parsing.end:', stats.parsing.end); // Is zero to master
}
});
Checklist
Steps to reproduce
Steps to reproduce
MANIFEST_LOADEDevent.statsobject provided in the event callback.stats.parsing.startis set, butstats.parsing.endis zero.Additional notes:
parsing.startandparsing.endare set as expected.Expected behaviour
Expected behaviour
stats.parsing.endshould also be set for master playlists, just like it is for media playlists (levels).What actually happened?
What actually happened?
stats.parsing.startis set, butstats.parsing.endremains zero.parsing.startandparsing.endare correctly set.Console output
Chrome media internals output