ExSDP.Attribute.Extmap (ExSDP v0.7.0) View Source

This module represents extmap (RFC 8285).

Link to this section Summary

Types

Key that can be used for searching this attribute using ExSDP.Media.get_attribute/2.

Reason of parsing failure.

t()

Link to this section Types

Specs

attr_key() :: :extmap

Key that can be used for searching this attribute using ExSDP.Media.get_attribute/2.

Specs

direction() :: :sendonly | :recvonly | :sendrecv | :inactive | nil

Specs

extension_id() :: 1..14

Specs

reason() :: :invalid_extmap | :invalid_id | :invalid_direction | :invalid_uri

Reason of parsing failure.

Specs

t() :: %ExSDP.Attribute.Extmap{
  attributes: [String.t()],
  direction: direction(),
  id: extension_id(),
  uri: String.t()
}

Link to this section Functions

Specs

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