[][src]Struct mediasoup::rtp_parameters::RtpEncodingParameters

pub struct RtpEncodingParameters {
    pub ssrc: Option<u32>,
    pub rid: Option<String>,
    pub codec_payload_type: Option<u8>,
    pub rtx: Option<RtpEncodingParametersRtx>,
    pub dtx: Option<bool>,
    pub scalability_mode: Option<String>,
    pub scale_resolution_down_by: Option<f64>,
    pub max_bitrate: Option<u32>,
}

Provides information relating to an encoding, which represents a media RTP stream and its associated RTX stream (if any).

Fields

ssrc: Option<u32>

The media SSRC.

rid: Option<String>

The RID RTP extension value. Must be unique.

codec_payload_type: Option<u8>

Codec payload type this encoding affects. If unset, first media codec is chosen.

rtx: Option<RtpEncodingParametersRtx>

RTX stream information. It must contain a numeric ssrc field indicating the RTX SSRC.

dtx: Option<bool>

It indicates whether discontinuous RTP transmission will be used. Useful for audio (if the codec supports it) and for video screen sharing (when static content is being transmitted, this option disables the RTP inactivity checks in mediasoup). Default false.

scalability_mode: Option<String>

Number of spatial and temporal layers in the RTP stream (e.g. 'L1T3'). See webrtc-svc.

scale_resolution_down_by: Option<f64>max_bitrate: Option<u32>

Trait Implementations

impl Clone for RtpEncodingParameters[src]

impl Debug for RtpEncodingParameters[src]

impl Default for RtpEncodingParameters[src]

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

impl PartialEq<RtpEncodingParameters> for RtpEncodingParameters[src]

impl PartialOrd<RtpEncodingParameters> for RtpEncodingParameters[src]

impl Serialize for RtpEncodingParameters[src]

impl StructuralPartialEq for RtpEncodingParameters[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,