participantHasLeft method

  1. @override
Future<void> participantHasLeft(
  1. String targetId
)
override

Implementation

@override
Future<void> participantHasLeft(String targetId) async {
  _notify(
    CallbackEvents.participantHasLeft,
    participantId: targetId,
  );

  await _subscribers[targetId]?.dispose();
  _subscribers.remove(targetId);
  _queueRemoteSubCandidates.remove(targetId);
}