Module lines

Module lines 

Source
Expand description

lines module includes all the lines as types, that appear in an SDP message.

Modules§

active
Types related to the time active line (a=).
attribute
Types related to the attribute line (a=).
bandwidth
Types related to the bandwidth line (b=).
common
Common types that might appear in more than one line types of an SDP message.
connection
Types related to the connection line (c=).
email
Types related to the email line (e=).
key
Types related to the key line (k=). Key line is deprecated according to RFC8866.
media
Types related to the media line (m=).
origin
Types related to the origin line (o=).
phone
Types related to the phone line (p=).
repeat
Types related to the repeat line (r=).
session_information
Types related to the session information line (i=).
session_name
Types related to the session name line (s=).
uri
Types related to the uri line (u=).
version
Types related to the version line (v=).
zone
Types related to the zone line (z=).

Structs§

Active
The time active (a=) of SDP. start and stop are saved as the appear in SDP, you will need chrono (or std) to convert to an actual time.
Bandwidth
A bandwidth line (b=) of SDP, which could appear in the main SDP session or in a Media description.
Connection
A connection line (c=) of SDP. Note that more than one such line could exist in an SDP message, that’s why crate::MediaDescription has a Vec<Connection> defined. But it can appear at most once in the main description (crate::SessionDescription).
Email
An email (e=) of SDP. Note that more than one such line could exist in an SDP message, that’s why crate::SessionDescription has a Vec<Email> defined.
Key
The key line (k=) of SDP. It can appear in the main session description or in a media description. Key line is deprecated according to RFC8866 but might appear when working with legacy stuff.
Media
A media line (m=) of SDP. Media is part of the high level crate::MediaDescription type.
Origin
The origin line (o=) of SDP.
Phone
A phone number line (p=) of SDP. Note that more than one such line could exist in an SDP message, that’s why crate::SessionDescription has a Vec<Phone> defined.
Repeat
The repeat time (r=) of SDP.
SessionInformation
The session information line (i=) of SDP.
SessionName
The session name line (s=) of SDP.
Uri
The uri line (u=) of SDP. It is not parsed, you can use value to get the actual value and parse it as a proper URI.
Zone
A zone line (z=) of SDP. It holds all the repeat zone adjustments in a Vector.

Enums§

Attribute
foo bar
Version
The version line (v=) of SDP. It is expected to always be 0.