setCandidate method

Future<void> setCandidate(
  1. RTCIceCandidate candidate
)

Implementation

Future<void> setCandidate(RTCIceCandidate candidate) async {
  if (rtcPeerConnection != null) {
    await rtcPeerConnection!.addCandidate(candidate);
  }
}