ExSDP.Attribute (ExSDP v0.4.0) View Source
This module represents Attributes fields of SDP.
Link to this section Summary
Functions
Parses SDP Attribute line.
Link to this section Types
Specs
cat() :: {:cat, binary()}
Specs
charset() :: {:charset, binary()}
Specs
fingerprint() :: {:fingerprint, {hash_function(), binary()}}
Specs
flag_attributes() :: :rtcp_rsize | :rtcp_mux | :inactive | :sendonly | :sendrecv | :recvonly
Specs
framerate() :: {:framerate, framerate_value()}
Specs
Specs
hash_function() :: :sha1 | :sha224 | :sha256 | :sha384 | :sha512
Specs
Specs
ice_pwd() :: {:ice_pwd, binary()}
Specs
ice_ufrag() :: {:ice_ufrag, binary()}
Specs
keywds() :: {:keywds, binary()}
Specs
lang() :: {:lang, binary()}
Specs
maxptime() :: {:maxptime, non_neg_integer()}
Specs
mid() :: {:mid, binary()}
Specs
orient() :: {:orient, orient_value()}
Specs
orient_value() :: :portrait | :landscape | :seascape
Specs
ptime() :: {:ptime, non_neg_integer()}
Specs
quality() :: {:quality, non_neg_integer()}
Specs
sdplang() :: {:sdplang, binary()}
Specs
setup() :: {:setup, setup_value()}
Specs
setup_value() :: :active | :passive | :actpass | :holdconn
Specs
t() :: ExSDP.Attribute.RTPMapping.t() | ExSDP.Attribute.MSID.t() | ExSDP.Attribute.FMTP.t() | ExSDP.Attribute.SSRC.t() | ExSDP.Attribute.Group.t() | cat() | charset() | keywds() | orient() | lang() | sdplang() | tool() | type() | framerate() | maxptime() | ptime() | quality() | ice_ufrag() | ice_pwd() | ice_options() | fingerprint() | setup() | mid() | flag_attributes()
Specs
tool() :: {:tool, binary()}
Specs
type() :: {:type, type_value()}
Specs
type_value() :: :broadcast | :meeting | :moderated | :test | :H332
Link to this section Functions
Specs
Parses SDP Attribute line.
line
is a string in form of a=attribute
or a=attribute:value
.
opts
is a keyword list that can contain some information for parsers.
Unknown attributes keys are returned as strings, known ones as atoms.
For known attributes please refer to t()
.