sendIceCandidate method

void sendIceCandidate(
  1. String otherUserId,
  2. RTCIceCandidate candidate
)

Implementation

void sendIceCandidate(String otherUserId, RTCIceCandidate candidate) {
  sendMessage('icecandidate', {
    'userId': userId,
    'otherUserId': otherUserId,
    'candidate': candidate.toMap(),
  });
}