Membrane Protocol SDP v0.1.1 Membrane.Protocol.SDP.Origin View Source

This module represents Origin field of SDP that represents originator of the session.

If username is set to - the originating host does not support the concept of user IDs.

For more details please see RFC4566 Section 5.2

Link to this section Summary

Link to this section Types

Link to this type

t() View Source
t() :: %Membrane.Protocol.SDP.Origin{
  address: Membrane.Protocol.SDP.ConnectionData.sdp_address(),
  session_id: binary(),
  session_version: binary(),
  username: binary() | nil
}

Link to this section Functions

Link to this function

parse(origin) View Source
parse(binary()) :: {:ok, t()} | {:error, reason()}