View Source ExWebRTC.ICECandidate (ex_webrtc v0.2.0)

Implementation of the RTCIceCandidate.

Summary

Types

@type t() :: %ExWebRTC.ICECandidate{
  candidate: binary(),
  sdp_m_line_index: non_neg_integer() | nil,
  sdp_mid: non_neg_integer() | nil,
  username_fragment: binary() | nil
}

Functions

@spec from_json(%{required(String.t()) => String.t()}) :: t()
@spec to_json(t()) :: %{required(String.t()) => String.t()}