setLocalVideoMaxBitrate method
Sets the maximum encode bitrate (kbps) for the local video stream.
Pass 0 to restore the SDK default. Takes effect immediately if local
video is already active.
Implementation
Future<void> setLocalVideoMaxBitrate(int maxBitrateKbps) async {
try {
await _coordinator.hostApi.setLocalVideoMaxBitrate(maxBitrateKbps);
} on PlatformException catch (e) {
throw ChimeDeviceException('Failed to set video bitrate', e.message);
}
}