setRemoteVideoSubscriptionOptionsEx abstract method
Future<void>
setRemoteVideoSubscriptionOptionsEx({
- required int uid,
- required VideoSubscriptionOptions options,
- 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.
uidRemote user ID.optionsSubscription settings for the video stream. See VideoSubscriptionOptions.connectionConnection 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});