setRemoteVideoSubscriptionOptionsEx abstract method

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

Sets the subscription options for the remote video stream.

When the remote user sends dual streams, you can call this method to set the subscription options for the remote video stream.

  • uid Remote user ID.
  • options Subscription settings for the video stream. See VideoSubscriptionOptions.
  • connection 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. See Error Codes for details and resolution suggestions.

Implementation

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