View Source ExWebRTC.ICECandidate (ex_webrtc v0.1.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()}