#[non_exhaustive]pub enum SdesType {
Show 13 variants
SdesEnd,
SdesCname,
SdesName,
SdesEmail,
SdesPhone,
SdesLocation,
SdesTool,
SdesNote,
SdesPrivate,
SdesRtpStreamId,
SdesRepairedRtpStreamId,
SdesMid,
Other(u8),
}Expand description
SDESType is the item type used in the RTCP SDES control packet. RTP SDES item types registered with IANA. See: https://www.iana.org/assignments/rtp-parameters/rtp-parameters.xhtml#rtp-parameters-5
The enum converts to and from the type octet with u8::from / SdesType::from. The
registry grows, so an item of a type that is not named here is kept as
SdesType::Other: a receiver skips such an item by its length (RFC 3550 §6.5).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
SdesEnd
End of the SDES item list ([RFC 3550] §6.5).
SdesCname
CNAME: the canonical end-point identifier, which ties an SSRC to a participant.
The one item WebRTC always sends — it is how a receiver associates streams that belong together.
SdesName
NAME: the participant’s display name.
SdesEmail
EMAIL: the participant’s email address.
SdesPhone
PHONE: the participant’s phone number.
SdesLocation
LOC: the participant’s geographic location.
SdesTool
TOOL: the name and version of the sending application.
SdesNote
NOTE: a transient note about the source, such as “on hold”.
SdesPrivate
PRIV: a private extension: a prefix that names it, and a value
(SourceDescriptionItem::private).
SdesRtpStreamId
RtpStreamId: the RID of the source stream (RFC 8852 §3.1), ASCII, not null terminated.
SdesRepairedRtpStreamId
RepairedRtpStreamId: on a redundancy stream, the RID of the source stream it repairs (RFC 8852 §3.2).
SdesMid
MID: the media identification that ties the source to an SDP media section (RFC 8843 §15.1, carried as RFC 7941 describes).
Other(u8)
An item type that is not named above, with its type octet.