setRemoteCustomStreamView method

Future<int> setRemoteCustomStreamView(
  1. String userId,
  2. String tag,
  3. RCRTCView view
)

Implementation

Future<int> setRemoteCustomStreamView(String userId, String tag, RCRTCView view) async {
  Map<String, dynamic> arguments = {
    'id': userId,
    'tag': tag,
    'view': view._id,
  };
  int code = await _channel.invokeMethod('setRemoteCustomStreamView', arguments) ?? -1;
  return code;
}