Bitrate (bandwidth) capping
Refer to the example code for (5.33.x) Resolution capping when implementing this functionality.
You can configure the CONNECT Player SDK to limit the maximum stream playback bitrate (bandwidth) that users will experience during playback. Renditions above the selected threshold will be dismissed and ignored by the player’s adaptation algorithms.
OTVVideoView
has a public API that lets you configure this feature by specifying the maximum bandwidth (in bits per second) at which the cap will be applied. A zero (default) or negative value will remove any bandwidth limit.
public void setMaxBandwidth(int bandwidth)
Once set, this bandwidth applies to every stream played, and persists for the lifecycle of the player. If the bandwidth cap is set lower than the bitrate of the lowest rendition, the lowest rendition will be played.
To override bitrate capping settings, see (5.33.x) OTVVideoView resolution and bitrate overrides.