Amazon Vinyl
    Preparing search index...

    Function estimatePeakBandwidth

    • Estimates the total bandwidth a representation uses alongside sibling content types, pairing it with the cheapest sibling rendition in its proportional bucket.

      Each content type's sorted list is split into as many buckets as this representation's own list has tiers; the representation is paired with the cheapest sibling rendition in the matching bucket. A stream with few tiers therefore stays selected across the span of a finer sibling's tiers (e.g. the top audio across the top half of video tiers) rather than being pinned to a single endpoint — with video [v1..v4] and audio [a1,a2], a1's bucket is v1..v2 so a1 pairs with v2, and a2's bucket is v3..v4 so a2 pairs with v4.

      Parameters

      Returns number