pub struct RtcpHandlerOptions { /* private fields */ }Expand description
RTCP handler options.
Implementations§
Source§impl RtcpHandlerOptions
impl RtcpHandlerOptions
Sourcepub const fn rtcp_report_interval(&self) -> Duration
pub const fn rtcp_report_interval(&self) -> Duration
Get the RTCP report interval.
Sourcepub const fn with_rtcp_report_interval(self, interval: Duration) -> Self
pub const fn with_rtcp_report_interval(self, interval: Duration) -> Self
Set the RTCP report interval.
RTCP reports will be generated every interval seconds. The default
value is 5 seconds.
Sourcepub const fn ignore_decoding_errors(&self) -> bool
pub const fn ignore_decoding_errors(&self) -> bool
Check if RTCP decoding errors should be ignored.
Sourcepub const fn with_ignore_decoding_errors(self, ignore: bool) -> Self
pub const fn with_ignore_decoding_errors(self, ignore: bool) -> Self
Set whether RTCP decoding errors should be ignored.
If true, decoding errors will be ignored and the invalid packets will be silently dropped. If false, the RTCP handler will stop processing incoming RTCP packets on the first decoding error. The default value is true.
Trait Implementations§
Source§impl Clone for RtcpHandlerOptions
impl Clone for RtcpHandlerOptions
Source§fn clone(&self) -> RtcpHandlerOptions
fn clone(&self) -> RtcpHandlerOptions
Returns a duplicate 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 Default for RtcpHandlerOptions
impl Default for RtcpHandlerOptions
impl Copy for RtcpHandlerOptions
Auto Trait Implementations§
impl Freeze for RtcpHandlerOptions
impl RefUnwindSafe for RtcpHandlerOptions
impl Send for RtcpHandlerOptions
impl Sync for RtcpHandlerOptions
impl Unpin for RtcpHandlerOptions
impl UnsafeUnpin for RtcpHandlerOptions
impl UnwindSafe for RtcpHandlerOptions
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