pub enum AudioRedundancy {
WhenPreferred,
Always,
Never,
}Expand description
When a local audio stream whose section negotiated RED (RFC 2198) is sent in RED. Received RED is taken apart in every case.
Variants§
WhenPreferred
In RED when the remote description lists the RED format ahead of the stream’s primary encoding, the remote side’s preference (RFC 3264 sections 5.1 and 6.1; libwebrtc’s rule too). Chromium and WebKit list it after Opus, so a call with them carries plain Opus. The default.
Always
In RED whenever RED is negotiated, whatever its place on the m= line: the application’s request for redundancy (RFC 8854 section 8). Each packet then carries a copy of the one before, about doubling the audio bitrate.
Never
Never in RED, even when the remote side prefers it (RFC 3264’s “SHOULD” set aside).
Trait Implementations§
Source§impl Clone for AudioRedundancy
impl Clone for AudioRedundancy
impl Copy for AudioRedundancy
Source§impl Debug for AudioRedundancy
impl Debug for AudioRedundancy
Source§impl Default for AudioRedundancy
impl Default for AudioRedundancy
impl Eq for AudioRedundancy
Source§impl PartialEq for AudioRedundancy
impl PartialEq for AudioRedundancy
impl StructuralPartialEq for AudioRedundancy
Auto Trait Implementations§
impl Forget for AudioRedundancy
impl Freeze for AudioRedundancy
impl Move for AudioRedundancy
impl RefUnwindSafe for AudioRedundancy
impl Send for AudioRedundancy
impl Sync for AudioRedundancy
impl Unpin for AudioRedundancy
impl UnsafeUnpin for AudioRedundancy
impl UnwindSafe for AudioRedundancy
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