pub struct RtcpParameters {
pub cname: Option<String>,
pub reduced_size: bool,
}
Expand description
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.
Trait Implementations§
Source§impl Clone for RtcpParameters
impl Clone for RtcpParameters
Source§fn clone(&self) -> RtcpParameters
fn clone(&self) -> RtcpParameters
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RtcpParameters
impl Debug for RtcpParameters
Source§impl Default for RtcpParameters
impl Default for RtcpParameters
Source§impl<'de> Deserialize<'de> for RtcpParameters
impl<'de> Deserialize<'de> for RtcpParameters
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for RtcpParameters
impl Hash for RtcpParameters
Source§impl Ord for RtcpParameters
impl Ord for RtcpParameters
Source§fn cmp(&self, other: &RtcpParameters) -> Ordering
fn cmp(&self, other: &RtcpParameters) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RtcpParameters
impl PartialEq for RtcpParameters
Source§impl PartialOrd for RtcpParameters
impl PartialOrd for RtcpParameters
Source§impl Serialize for RtcpParameters
impl Serialize for RtcpParameters
impl Eq for RtcpParameters
impl StructuralPartialEq for RtcpParameters
Auto Trait Implementations§
impl Freeze for RtcpParameters
impl RefUnwindSafe for RtcpParameters
impl Send for RtcpParameters
impl Sync for RtcpParameters
impl Unpin for RtcpParameters
impl UnwindSafe for RtcpParameters
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