removeRemoteVideo method

Future<int> removeRemoteVideo({
  1. required String streamId,
})

Implementation

Future<int> removeRemoteVideo({
  required String streamId,
}) async {
  if (Platform.isAndroid) {
    return await ($instance as BasicHelper).invoke<int>(
      method: 'removeRemoteVideo',
      args: [streamId],
    );
  } else if (Platform.isIOS) {
    return await ($instance as BasicHelper).invoke<int>(
      method: 'removeRemoteVideo:streamId:',
      args: [streamId],
    );
  } else {
    throw UnsupportedError('Unsupported platform');
  }
}