Struct mediasoup::rtp_parameters::RtcpParameters[][src]

pub struct RtcpParameters {
    pub cname: Option<String>,
    pub reduced_size: bool,
    pub mux: Option<bool>,
}

Provides information on RTCP settings within the RTP parameters.

If no cname is given in a producer’s RTP parameters, the mediasoup transport will choose a random one that will be used into RTCP SDES messages sent to all its associated consumers.

mediasoup assumes reduced_size to always be true.

Fields

cname: Option<String>

The Canonical Name (CNAME) used by RTCP (e.g. in SDES messages).

reduced_size: bool

Whether reduced size RTCP RFC 5506 is configured (if true) or compound RTCP as specified in RFC 3550 (if false). Default true.

mux: Option<bool>

Whether RTCP-mux is used. Default true.

Trait Implementations

impl Clone for RtcpParameters[src]

impl Debug for RtcpParameters[src]

impl Default for RtcpParameters[src]

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

impl Eq for RtcpParameters[src]

impl Hash for RtcpParameters[src]

impl Ord for RtcpParameters[src]

impl PartialEq<RtcpParameters> for RtcpParameters[src]

impl PartialOrd<RtcpParameters> for RtcpParameters[src]

impl Serialize for RtcpParameters[src]

impl StructuralEq for RtcpParameters[src]

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