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