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