- Enclosing class:
public static interface BufferSizeAdaptationBuilder.DynamicFormatFilter
Dynamic filter for formats, which is applied when selecting a new track.
boolean isFormatAllowed(Format format,
Called when updating the selected track to determine whether a candidate track is allowed. If
no format is allowed or eligible, the lowest quality format will be used.
format - The
Format of the candidate track.
trackBitrate - The estimated bitrate of the track. May differ from
Format.bitrate if a more accurate estimate of the current track bitrate is available.
isInitialSelection - Whether this is for the initial track selection.