View Source ExSDP.Bandwidth (ExSDP v0.10.2)

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.

Link to this section Summary

Link to this section Types

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

Link to this section Functions

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