CONNECT Player SDK 5 for Browsers and Connected TV

Resolution and bitrate capping

To test this feature and view the example code, please see the

Browsers and Connected TV SDK 5 Example Code Quick Start

guide.

The CONNECT Player SDK can apply resolution and bandwidth caps to DASH streams.

Alternative APIs

A cap on the resolution can be set by an explicit cap of x and y pixels, this can also be done for bandwidth capping with a cap of z bits per second (bps).

Procedure for capping programmatically

Simply call the setMaxResolution() and setMaxBandwidth() functions, for example:

JavaScript
playerInstance.otvtoolkit().setMaxResolution(640, 480);
JavaScript
playerInstance.otvtoolkit().setMaxBandwidth(2500000));

To remove caps pass Infinity as arguments to the functions:

JavaScript
playerInstance.otvtoolkit().setMaxResolution(Infinity, Infinity);
JavaScript
playerInstance.otvtoolkit().setMaxBandwidth(Infinity);