View Source ExSDP.Attribute.RID (ExSDP v1.1.0)

This module represents rid (RFC 8851).

Summary

Types

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

t()

Types

@type attr_key() :: :rid

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

@type t() :: %ExSDP.Attribute.RID{
  direction: :send | :recv,
  id: binary(),
  pt: [non_neg_integer()] | nil,
  restrictions: {String.t(), String.t()}
}

Functions

@spec parse(binary()) :: {:ok, t()} | {:error, :invalid_rid}