videoIndex property

int? videoIndex
final

The label of subscribed video stream with different resolution.

Users can call RTCVideo.setVideoEncoderConfig to publish multiple video streams of different resolutions. Therefore, when subscribing to a remote stream, you need to specify the specific resolution of the subscription. This parameter is used to specify which resolution you want to subscribe, the default value is 0.

Implementation

final int? videoIndex;