Show Menu
TOPICS×

Overview

HLS and DASH streams provide different bit rate encodings (profiles) for the same short burst of video. Browser TVSDK can select the quality level for each burst based on the available bandwidth.
Browser TVSDK constantly monitors the bit rate to ensure that the content is played at the optimal bit rate for the current network connection.
You can set the adaptive bit-rate (ABR) switching policy and the initial, minimum, and maximum bit rates for a multiple-bit-rate (MBR) stream. Browser TVSDK automatically switches to the bit rate that provides the best playback experience in the specified configuration.
Initial bit rate The desired playback bit rate (in bits per second) for the first segment. When playback starts, the closest profile, which is equal to or greater than the initial bit rate, is used for the first segment.
If a minimum bit rate is defined, and the initial bit rate is lower than the minimum rate, Browser TVSDK selects the profile with the lowest bit rate above the minimum bit rate. If the initial rate is above the maximum rate, Browser TVSDK selects the highest rate below the maximum rate.
If the initial bit rate is zero or undefined, the initial bit rate is determined by the ABR policy.
initialBitRate returns an integer value that represents the byte-per-second profile.
Minimum bit rate The lowest allowed bit rate to which the ABR can switch. ABR switching ignores profiles with a bit rate that is lower than this bit rate.
minBitRate returns an integer value that represents the bits-per-second profile.
Maximum bit rate The highest allowed bit rate to which the ABR can switch. ABR switching ignores profiles with a bit rate higher than this bit rate.
maxBitRate returns an integer value that represents the bits-per-second profile.
Keep the following information in mind:
  • When the bit rate changes, Browser TVSDK dispatches AdobePSDK.ProfileEvent with the type as AdobePSDK.PSDKEventType.PROFILE_CHANGED .
  • You can change your ABR settings at any time, and the player switches to use the profile that most closely matches the most recent settings.
For example, if a stream has the following profiles:
  • 1: 300000
  • 2: 700000
  • 3: 1500000
  • 4: 2400000
  • 5: 4000000
If you specify a range of 300000 to 2000000, Browser TVSDK considers only profiles 1, 2 and 3. This allows applications to adjust to various network conditions, such as switching from wi-fi to 3G or to various devices such as a phone, a tablet, or a desktop computer.
To set ABR control parameters:
  • Set the parameters on the ABRControlParameters class.