removeRemoteParticipant method

Future<void> removeRemoteParticipant(
  1. String id
)

Removes a remote participant

Implementation

Future<void> removeRemoteParticipant(String id) async {
  await remoteParticipants[id]?.renderer.dispose();
  await remoteParticipants.remove(id)?.dispose();
  onRemoveRemoteParticipant!(id);
}