View Source ExWebRTC.ICECandidate (ex_webrtc v0.7.0)

Implementation of the RTCIceCandidate.

Summary

Types

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

Functions

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