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

This module represents msid (RFC 8830).

Summary

Types

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

t()

Types

@type attr_key() :: :msid

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

@type t() :: %ExSDP.Attribute.MSID{app_data: binary() | nil, id: binary()}

Functions

Link to this function

new(id \\ UUID.uuid4(), app_data \\ UUID.uuid4())

View Source
@spec new(id :: binary(), app_data :: binary() | nil) :: t()
@spec parse(binary()) :: {:ok, t()} | {:error, :invalid_msid}