sendReceiverCandidate method

  1. @override
void sendReceiverCandidate({
  1. required RTCIceCandidate candidate,
  2. required dynamic targetId,
})
override

Implementation

@override
void sendReceiverCandidate({
  required RTCIceCandidate candidate,
  required targetId,
}) {
  _socket?.emit(SocketEvent.subscriberCandidateCSS, {
    'targetId': targetId,
    'candidate': candidate.toMap(),
  });
}