Skip to main content

Module common

Module common 

Source
Expand description

Field types shared by session and media descriptions (c=, b=, a=). Fields shared by session and media descriptions.

c= connection data (ConnectionInformation, Address), b= bandwidth (Bandwidth) and a= attributes (Attribute) may appear at either level in SDP, with the media-level value overriding the session-level one — so they are modelled once here.

An Attribute with no value is a flag, which is how a=rtcp-mux and the direction attributes are expressed.

Structs§

Address
Address describes a structured address token from within the “c=” field.
Attribute
Attribute describes the “a=” field which represents the primary means for extending SDP.
Bandwidth
Bandwidth describes an optional field which denotes the proposed bandwidth to be used by the session or media.
ConnectionInformation
ConnectionInformation defines the representation for the “c=” field containing connection data.

Type Aliases§

EncryptionKey
EncryptionKey describes the “k=” which conveys encryption key information.
Information
Information describes the “i=” field which provides textual information about the session.