sendPublisherIceCandidate method

  1. @override
void sendPublisherIceCandidate({
  1. required RTCIceCandidate candidate,
  2. required ConnectionType connectionType,
  3. 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,
    },
  );
}