averageBitrate

The average bitrate in bits per second, or {@link #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 {@link Format#NO_VALUE}.
  • HLS variants: The {@code AVERAGE-BANDWIDTH} attribute defined on the corresponding {@code EXT-X-STREAM-INF} tag in the multivariant playlist, or {@link Format#NO_VALUE} if not present.
  • SmoothStreaming track elements: The {@code Bitrate} attribute defined on the corresponding {@code TrackElement} in the manifest, or {@link Format#NO_VALUE} if not present.
  • Progressive container formats: Often {@link Format#NO_VALUE}, but may be populated with the average bitrate of the container if known.
  • Sample formats: Often {@link Format#NO_VALUE}, but may be populated with the average bitrate of the stream of samples with type {@link #sampleMimeType} if known. Note that if {@link #sampleMimeType} is a compressed format (e.g., {@link MimeTypes#AUDIO_AAC}), then this bitrate is for the stream of still compressed samples.