requestPreferredStreamForOpponent method
Requests the preferred quality for the opponent's 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> requestPreferredStreamForOpponent(
int opponentId, StreamType streamType) {
return requestPreferredStreamsForOpponents({opponentId: streamType});
}