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:
playerInstance.otvtoolkit().setMaxResolution(640, 480);
playerInstance.otvtoolkit().setMaxBandwidth(2500000));
To remove caps pass Infinity
as arguments to the functions:
playerInstance.otvtoolkit().setMaxResolution(Infinity, Infinity);
playerInstance.otvtoolkit().setMaxBandwidth(Infinity);