RTCIceCandidateInit constructor

RTCIceCandidateInit({
  1. String? candidate,
  2. String? sdpMid,
  3. int? sdpMLineIndex,
  4. String? usernameFragment,
})

Implementation

factory RTCIceCandidateInit(
        {String? candidate,
        String? sdpMid,
        int? sdpMLineIndex,
        String? usernameFragment}) =>
    RTCIceCandidateInit._(
        candidate: candidate ?? '',
        sdpMid: sdpMid ?? undefined,
        sdpMLineIndex: sdpMLineIndex ?? undefined,
        usernameFragment: usernameFragment ?? undefined);