View Source ExSDP.Attribute.Simulcast (ExSDP v1.0.0)

This module represents simulcast (RFC 8853).

Summary

Types

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

t()

Types

@type attr_key() :: :simulcast

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

@type rid() :: String.t()
@type t() :: %ExSDP.Attribute.Simulcast{
  recv: [rid() | [rid()]],
  send: [rid() | [rid()]]
}

Functions

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