From f1f2c84acaa61758ae39081c3469be7ec7a2ab00 Mon Sep 17 00:00:00 2001 From: Alexander Malaev Date: Thu, 9 Nov 2023 21:05:36 +0300 Subject: [PATCH] Add TIAS bandwidth type --- lib/ex_sdp/bandwidth.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ex_sdp/bandwidth.ex b/lib/ex_sdp/bandwidth.ex index 7bceb9a..5fcede1 100644 --- a/lib/ex_sdp/bandwidth.ex +++ b/lib/ex_sdp/bandwidth.ex @@ -15,9 +15,9 @@ defmodule ExSDP.Bandwidth do bandwidth: non_neg_integer() } - @type type :: :CT | :AS + @type type :: :CT | :AS | :TIAS - @supported_types ["CT", "AS"] + @supported_types ["CT", "AS", "TIAS"] @spec parse(binary()) :: {:ok, t()} | {:error, :invalid_bandwidth} def parse(bandwidth) do