averageBitrate

open override val averageBitrate: Int

The average bitrate in bits per second, or BITRATE_NO_VALUE if unknown or not applicable. The way in which this field is populated depends on the type of media to which the format corresponds:

  • DASH representations: Always BITRATE_NO_VALUE.

  • HLS variants: The AVERAGE-BANDWIDTH attribute defined on the corresponding EXT-X-STREAM-INF tag in the multivariant playlist, or BITRATE_NO_VALUE if not present.

  • SmoothStreaming track elements: The Bitrate attribute defined on the corresponding TrackElement in the manifest, or BITRATE_NO_VALUE if not present.

  • Progressive container formats: Often BITRATE_NO_VALUE, but may be populated with the average bitrate of the container if known.