Bit Rate Filtering (b)

To filter out certain bit rates—for example, to test a particular bit rate version add a b query string to the end of the publish URL. You can use this string in one of the following ways:

  • Filter all bit rates except those specifically designated (and the lowest audio rate); the string is as follows:
    b=bitrate,bitrate,bitrate,...
    For example, if you have bit rates 200, 300, 700, and 1200, and you want to include only bit rates 200, 700, and the lowest audio rate, your URL format is:
    uri/manifest.f4m?b=200,700

    This produces only the 200 and 700 bit rate streams and the lowest audio bit rate.

  • Designate a bit rate range (in kbps) outside of which the stream or streams you want to filter fall; the string format is:
    b=lower_end-upper_end
    For example, if you have bit rates 200, 300, 700, and 1200, and you want to include all bit rates at or greater than 200 and at or less than 700, your URL format is:
    uri/manifest.f4m?b=200-700

    This produces the 200, 300, and 700 bit rate streams.

  • Designate the low end of a bit rate range (in kbps) where all bit rates below the value are filtered; the string format is:
    b=low_end-
    For example, if you have bit rates 200, 300, 700, and 1200, and you want to include all bit rates at and higher than 300 kbps, your URL format is:
    uri/manifest.f4m?b=300-

    This produces the 300, 700, and 1200 bit rate streams.

  • Designate the high end of a bit rate range (in kbps) where all bit rates at and above the designation are filtered; the string format is:
    b=0-high_end
    For example, for bit rates 200, 300, 700, and 1200, to include all bit rates lower than or equal to 700 kbps, your URL format is:
    uri/manifest.f4m?b=0-700

    This produces the 200, 300, and 700 bit rate streams.

  • Any combination of the above.
    For example, for bit rates 200, 300, 700, 1200, and 1800, to include all bit rates except 700, your URL format is:
    uri/manifest.f4m?b=0-300,1200-

    This produces only the 200, 300, 1200, and 1800 bit rate streams and the lowest audio bit rate.