ExWebRTC.SessionDescription (ex_webrtc v0.11.0)

View Source

Implementation of the RTCSessionDescription.

Summary

Types

description_type()

@type description_type() :: :answer | :offer | :pranswer | :rollback

t()

@type t() :: %ExWebRTC.SessionDescription{sdp: String.t(), type: description_type()}

Functions

from_json(map)

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

to_json(sd)

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