ExSDP.Attribute.MSID (ExSDP v0.4.0) View Source

This module represents msid (RFC 8830).

Link to this section Summary

Types

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

t()

Link to this section Types

Specs

attr_key() :: :msid

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

Specs

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

Link to this section Functions

Link to this function

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

View Source

Specs

new(id :: binary(), app_data :: binary() | nil) :: t()

Specs

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