Struct mediasoup::rtp_parameters::RtpHeaderExtensionParameters[][src]

pub struct RtpHeaderExtensionParameters {
    pub uri: RtpHeaderExtensionUri,
    pub id: u16,
    pub encrypt: bool,
}

Defines a RTP header extension within the RTP parameters. The list of RTP header extensions supported by mediasoup is defined in the supported_rtp_capabilities.rs file.

mediasoup does not currently support encrypted RTP header extensions and no parameters are currently considered.

Fields

uri: RtpHeaderExtensionUri

The URI of the RTP header extension, as defined in RFC 5285.

id: u16

The numeric identifier that goes in the RTP packet. Must be unique.

encrypt: bool

If true, the value in the header is encrypted as per RFC 6904. Default false.

Trait Implementations

impl Clone for RtpHeaderExtensionParameters[src]

impl Debug for RtpHeaderExtensionParameters[src]

impl<'de> Deserialize<'de> for RtpHeaderExtensionParameters[src]

impl Eq for RtpHeaderExtensionParameters[src]

impl Hash for RtpHeaderExtensionParameters[src]

impl Ord for RtpHeaderExtensionParameters[src]

impl PartialEq<RtpHeaderExtensionParameters> for RtpHeaderExtensionParameters[src]

impl PartialOrd<RtpHeaderExtensionParameters> for RtpHeaderExtensionParameters[src]

impl Serialize for RtpHeaderExtensionParameters[src]

impl StructuralEq for RtpHeaderExtensionParameters[src]

impl StructuralPartialEq for RtpHeaderExtensionParameters[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.