sendSubscriberIceCandidate method
void
sendSubscriberIceCandidate({
- required RTCIceCandidate candidate,
- required String targetId,
- required ConnectionType connectionType,
- required String roomId,
override
Implementation
@override
void sendSubscriberIceCandidate({
required RTCIceCandidate candidate,
required String targetId,
required ConnectionType connectionType,
required String roomId,
}) {
_socket?.emit(WsEvent.roomSubscriberCandidate, {
'targetId': targetId,
'candidate': candidate.toMap(),
'connectionType': connectionType.index,
'roomId': roomId,
});
}