Membrane Protocol SDP v0.1.0 Membrane.Protocol.SDP.ConnectionData View Source

This module represents Connection Information.

Address can be represented by either:

  • IPv4 address
  • IPv6 address
  • FQDN (Fully Qualified Domain Name)

In case of IPv4 and IPv6 multicast addresses there can be more than one parsed from single SDP field if it is described using slash notation.

Sessions using an IPv4 multicast connection address MUST also have a time to live (TTL) value present in addition to the multicast address.

For more details please see [RFC4566 Section 5.7]|(https://tools.ietf.org/html/rfc4566#section-5.7

Link to this section Summary

Link to this section Types

Link to this type

reason() View Source
reason() ::
  :invalid_address | :invalid_connection_data | :option_nan | :wrong_ttl

Link to this type

sdp_address() View Source
sdp_address() ::
  Membrane.Protocol.SDP.ConnectionData.IP6.t()
  | Membrane.Protocol.SDP.ConnectionData.IP4.t()
  | binary()

Link to this section Functions

Link to this function

parse(connection_string) View Source
parse(binary()) :: {:ok, [sdp_address()] | sdp_address()} | {:error, reason()}