[−][src]Struct mediasoup::rtp_parameters::RtpEncodingParameters
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]
pub fn clone(&self) -> RtpEncodingParameters
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for RtpEncodingParameters
[src]
impl Default for RtpEncodingParameters
[src]
pub fn default() -> RtpEncodingParameters
[src]
impl<'de> Deserialize<'de> for RtpEncodingParameters
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<RtpEncodingParameters> for RtpEncodingParameters
[src]
pub fn eq(&self, other: &RtpEncodingParameters) -> bool
[src]
pub fn ne(&self, other: &RtpEncodingParameters) -> bool
[src]
impl PartialOrd<RtpEncodingParameters> for RtpEncodingParameters
[src]
pub fn partial_cmp(&self, other: &RtpEncodingParameters) -> Option<Ordering>
[src]
pub fn lt(&self, other: &RtpEncodingParameters) -> bool
[src]
pub fn le(&self, other: &RtpEncodingParameters) -> bool
[src]
pub fn gt(&self, other: &RtpEncodingParameters) -> bool
[src]
pub fn ge(&self, other: &RtpEncodingParameters) -> bool
[src]
impl Serialize for RtpEncodingParameters
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for RtpEncodingParameters
[src]
Auto Trait Implementations
impl RefUnwindSafe for RtpEncodingParameters
impl Send for RtpEncodingParameters
impl Sync for RtpEncodingParameters
impl Unpin for RtpEncodingParameters
impl UnwindSafe for RtpEncodingParameters
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,