Skip to content

fix: Update bitrate calculation to use measured throughput#36

Merged
rajeevkumar-nr merged 4 commits intomainfrom
update-bitrate-calculation-method
Feb 17, 2026
Merged

fix: Update bitrate calculation to use measured throughput#36
rajeevkumar-nr merged 4 commits intomainfrom
update-bitrate-calculation-method

Conversation

@bhansa-nr
Copy link
Collaborator

Updates bitrate calculation to use dash.js getAverageThroughput() for measured throughput instead of manifest bitrate for more accurate reporting.

Changes

  • Added getBitrate() and getContentBitratePlayback() methods
  • Uses getAverageThroughput() for measured download throughput
  • Falls back to current quality bitrate from manifest if throughput unavailable

mlychndnnr
mlychndnnr previously approved these changes Feb 11, 2026
Copy link
Contributor

@mlychndnnr mlychndnnr left a comment

Choose a reason for hiding this comment

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

lgtm!

@rajeevkumar-nr rajeevkumar-nr merged commit c76abfa into main Feb 17, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments