Skip to main content
Skip table of contents

Bitrate (bandwidth) capping


Refer to the example code for 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.

JAVA
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 OTVVideoView resolution and bitrate overrides.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.