setMaxBitRate method
Set the maximum bit rate of the player. This method may not work on windows.
Implementation
bool setMaxBitRate(int bitrate) {
if (!disposed && bitrate >= 0 && bitrate != maxBitRate.value) {
maxBitRate.value = bitrate;
if (id.value != null) {
_setMaxBitRate();
}
return true;
}
return false;
}