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

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

@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()}

Link to this section 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}