Release Notes: Content Bitrate Reporting Fix
🐛 Bug Fix
Fixed contentBitrate to Accurately Report Stream Bitrate
-
Issue: The
contentBitrateattribute was previously usingestimatedBandwidth(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
streamBandwidthfrom Shaka Player statistics, which provides the actual content bitrate of the current video variant as defined in the manifest. -
Impact: The
contentBitrateattribute 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.streamBandwidthas the primary source for content bitrate - Updated DATAMODEL.md documentation to reflect the accurate definition