Enum atm0s_custom_str0m::rtp::Extension
source · #[non_exhaustive]pub enum Extension {
Show 13 variants
AbsoluteSendTime,
AudioLevel,
TransmissionTimeOffset,
VideoOrientation,
TransportSequenceNumber,
PlayoutDelay,
VideoContentType,
VideoTiming,
RtpStreamId,
RepairedRtpStreamId,
RtpMid,
FrameMarking,
ColorSpace,
}
Expand description
RTP header extensions.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AbsoluteSendTime
AudioLevel
TransmissionTimeOffset
urn:ietf:params:rtp-hdrext:toffset
Use when a RTP packet is delayed by a send queue to indicate an offset in the “transmitter”. It effectively means we can set a timestamp offset exactly when the UDP packet leaves the server.
VideoOrientation
TransportSequenceNumber
PlayoutDelay
VideoContentType
VideoTiming
RtpStreamId
urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id
UTF8 encoded identifier for the RTP stream. Not the same as SSRC, this is is designed to avoid running out of SSRC for very large sessions.
RepairedRtpStreamId
urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id
UTF8 encoded identifier referencing another RTP stream’s RtpStreamId. If we see this extension type, we know the stream is a repair stream.
RtpMid
FrameMarking
ColorSpace
Implementations§
source§impl Extension
impl Extension
sourcepub fn with_serializer(uri: &str, s: impl ExtensionSerializer) -> Self
pub fn with_serializer(uri: &str, s: impl ExtensionSerializer) -> Self
Extension for a uri not handled by str0m itself.
Trait Implementations§
source§impl PartialEq for Extension
impl PartialEq for Extension
impl Eq for Extension
impl UnwindSafe for Extension
Auto Trait Implementations§
impl !RefUnwindSafe for Extension
impl Send for Extension
impl Sync for Extension
impl Unpin for Extension
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more