Skip to content

Add target-latency and current-latency to debug view#361

Closed
ryanmccartney wants to merge 4 commits intobbc:masterfrom
ryanmccartney:low-latency-debug
Closed

Add target-latency and current-latency to debug view#361
ryanmccartney wants to merge 4 commits intobbc:masterfrom
ryanmccartney:low-latency-debug

Conversation

@ryanmccartney
Copy link
Copy Markdown
Contributor

@ryanmccartney ryanmccartney commented Oct 30, 2024

📺 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

@ryanmccartney ryanmccartney requested a review from a team as a code owner October 30, 2024 17:11
@ryanmccartney
Copy link
Copy Markdown
Contributor Author

PR now brought up to date with 9.0.2

@ShiningTrapez ShiningTrapez added the semver minor This PR is a semver minor release label Apr 7, 2025
@ShiningTrapez ShiningTrapez self-requested a review April 7, 2025 12:22
Copy link
Copy Markdown
Contributor

@ShiningTrapez ShiningTrapez left a comment

Choose a reason for hiding this comment

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

Needs Chronicle Changes - Working on it, just blocking merge

@ShiningTrapez
Copy link
Copy Markdown
Contributor

Closing in favour of #378

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.

2 participants