View Source ExWebRTC.SessionDescription (ex_webrtc v0.1.0)

Implementation of the RTCSessionDescription.

Summary

Types

@type description_type() :: :answer | :offer | :pranswer | :rollback
@type t() :: %ExWebRTC.SessionDescription{sdp: String.t(), type: description_type()}

Functions

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