onRemoteVideoSizeChanged method

void onRemoteVideoSizeChanged(
  1. int userId,
  2. int videoType,
  3. int width,
  4. int height,
)

接收的远端视频分辨率变化的回调。

userId 远端用户 ID

videoType 视频流类型

width 视频宽度

height 视频高度

Implementation

void onRemoteVideoSizeChanged(
    int userId, int videoType, int width, int height) {}