requestPreferredStreamsForOpponents method
Requests the preferred quality for the opponents' video streams
configs
- is the map where key is the opponent's id and the value is
the required quality of the video stream
There available three types of media streams depending on the video
bitrate and resolution. There are:
- StreamType.high - the maximum resolution and bitrate 720 kbit;
- StreamType.medium - the resolution cut in two times and bitrate 240 kbit;
- StreamType.low - the resolution cut in four times and bitrate 80 kbit;
Implementation
Future<void> requestPreferredStreamsForOpponents(
Map<int, StreamType> configs) {
return _signaler.requestPreferredStreamsForUsers(configs);
}