pub struct RtcpBandwidth {
pub session: Option<u64>,
pub rs: Option<u64>,
pub rr: Option<u64>,
}Expand description
The bandwidth figures a session description gives for RTCP, all in bits per second.
Fields§
§session: Option<u64>The session bandwidth (b=TIAS, or b=AS times 1000). RTCP gets 5% of it unless
rs and rr say otherwise. None: the media bitrate measured over the last two
seconds, with a start-up value before that (RTCP_SESSION_NOMINAL_VIDEO_BANDWIDTH).
rs: Option<u64>b=RS (RFC 3556): the RTCP bandwidth of the senders.
rr: Option<u64>b=RR (RFC 3556): the RTCP bandwidth of the receivers.
Trait Implementations§
Source§impl Clone for RtcpBandwidth
impl Clone for RtcpBandwidth
impl Copy for RtcpBandwidth
Source§impl Debug for RtcpBandwidth
impl Debug for RtcpBandwidth
Source§impl Default for RtcpBandwidth
impl Default for RtcpBandwidth
impl Eq for RtcpBandwidth
Source§impl PartialEq for RtcpBandwidth
impl PartialEq for RtcpBandwidth
impl StructuralPartialEq for RtcpBandwidth
Auto Trait Implementations§
impl Forget for RtcpBandwidth
impl Freeze for RtcpBandwidth
impl Move for RtcpBandwidth
impl RefUnwindSafe for RtcpBandwidth
impl Send for RtcpBandwidth
impl Sync for RtcpBandwidth
impl Unpin for RtcpBandwidth
impl UnsafeUnpin for RtcpBandwidth
impl UnwindSafe for RtcpBandwidth
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