setRemoteVideoSubscriptionOptionsEx abstract method

Future<void> setRemoteVideoSubscriptionOptionsEx({
  1. required int uid,
  2. required VideoSubscriptionOptions options,
  3. required RtcConnection connection,
})

Options for subscribing to remote video streams.

When a remote user has enabled dual-stream mode, you can call this method to choose the option for subscribing to the video streams sent by the remote user.

  • uid The user ID of the remote user.
  • options The video subscription options. See VideoSubscriptionOptions.
  • connection The connection information. See RtcConnection.

Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly.

Implementation

Future<void> setRemoteVideoSubscriptionOptionsEx(
    {required int uid,
    required VideoSubscriptionOptions options,
    required RtcConnection connection});