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=
). - 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
andstop
are saved as the appear in SDP, you will needchrono
(orstd
) 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 aVec<Connection>
defined. But it can appear at most once in the main description (crate::SessionDescription). - An email (
e=
) of SDP. Note that more than one such line could exist in an SDP message, that’s why crate::SessionDescription has aVec<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 aVec<Phone>
defined. - Repeat
- The repeat time (
r=
) of SDP. - Session
Information - The session information line (
i=
) of SDP. - Session
Name - The session name line (
s=
) of SDP. - Uri
- The uri line (
u=
) of SDP. It is not parsed, you can usevalue
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 aVector
.