requestPreferredStreamForOpponent method

Future<void> requestPreferredStreamForOpponent(
  1. int opponentId,
  2. StreamType streamType
)

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:

Implementation

Future<void> requestPreferredStreamForOpponent(
    int opponentId, StreamType streamType) {
  return requestPreferredStreamsForOpponents({opponentId: streamType});
}