View Source ExSDP.Bandwidth (ExSDP v1.1.0)

This module represents the bandwidth, a field of SDP that denotes the proposed bandwidth to be used by the session or media.

For more details please see RFC4566 Section 5.8.

Summary

Types

@type t() :: %ExSDP.Bandwidth{bandwidth: non_neg_integer(), type: type()}
@type type() :: :CT | :AS | :TIAS

Functions

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