Skip to content

v4.0.2

Latest

Choose a tag to compare

@mlychndnnr mlychndnnr released this 18 Feb 05:42
f190b9e

Release Notes: Content Bitrate Reporting Fix

🐛 Bug Fix

Fixed contentBitrate to Accurately Report Stream Bitrate

  • Issue: The contentBitrate attribute was previously using estimatedBandwidth (network capacity estimate) as the primary source, which did not accurately represent the actual bitrate of the currently playing video stream.

  • Solution: Updated the bitrate calculation to prioritize streamBandwidth from Shaka Player statistics, which provides the actual content bitrate of the current video variant as defined in the manifest.

  • Impact: The contentBitrate attribute now correctly reports the bitrate (in bits per second) of the video stream being played, rather than the estimated network bandwidth. This provides more accurate telemetry data for video quality monitoring and analytics.

Technical Details

  • Changed priority order in getContentBitratePlayback() method
  • Now uses stats.streamBandwidth as the primary source for content bitrate
  • Updated DATAMODEL.md documentation to reflect the accurate definition