Skip to content

Add target-latency and current-latency to Chronicle (Update of #361)#378

Merged
ShiningTrapez merged 9 commits intomasterfrom
pr/361
Apr 8, 2025
Merged

Add target-latency and current-latency to Chronicle (Update of #361)#378
ShiningTrapez merged 9 commits intomasterfrom
pr/361

Conversation

@ShiningTrapez
Copy link
Copy Markdown
Contributor

📺 What

Adds MSE target latency and current latency reporting to the debug menu. Useful when debugging low-latency content, particularly on TV hardware where some decoder behaviours do not match what might be expected

🛠 How

Uses existing DebugTool.dynamicMetric() method to add these metrics each time a timeupdate event is called.

✅ Testing

Added underlying dash.js functions to the mockDashInstance. No additional unit tests were added.

Test Guidelines

Test engineer sign off

👀 See

New fields are seen below when the MSE strategy is chosen. The values NaN and 0 are seen when VOD content is played.

Screenshot 2024-10-30 at 17 06 22

The same changes are shown again, but using live low-latency content. Extra fields, along with the existing playback rate field, can be used to determine whether low-latency content is performing as expected.

Screenshot 2024-10-30 at 17 06 54

#361

@ShiningTrapez ShiningTrapez added the semver minor This PR is a semver minor release label Apr 7, 2025
@ShiningTrapez ShiningTrapez self-assigned this Apr 7, 2025
@ShiningTrapez ShiningTrapez requested a review from a team as a code owner April 7, 2025 12:38
ryanmccartney
ryanmccartney previously approved these changes Apr 7, 2025
Comment thread package.json
@ryanmccartney
Copy link
Copy Markdown
Contributor

Updated to only show target and current latency values when playing back a live stream

eirikbjornr
eirikbjornr previously approved these changes Apr 7, 2025
Copy link
Copy Markdown
Contributor

@eirikbjornr eirikbjornr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Left one comment on dynamic vs static metric

Comment thread src/playbackstrategy/msestrategy.js Outdated
@ShiningTrapez ShiningTrapez merged commit e3ced1c into master Apr 8, 2025
4 checks passed
@ShiningTrapez ShiningTrapez deleted the pr/361 branch April 8, 2025 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver minor This PR is a semver minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants