setMaxBandwidth method
Sets maximum bandwidth for the local media stream
bandwidth
- the bandwidth in kbps, set to 0 or null for disabling the limitation
Implementation
@override
void setMaxBandwidth(int? bandwidth) {
channels.forEach((userId, peerConnection) {
peerConnection.setMaxBandwidth(bandwidth);
});
}