pub enum CodecSetting {
RtxAssociation(PayloadType),
H264PacketizationMode(PacketizationMode),
H264ProfileLevelId(String),
Vp9ProfileId(Vp9ProfileId),
UseInBandFec(bool),
Other {
key: String,
value: String,
},
}Expand description
Typed codec parameter that affects interoperability.
These correspond to “a=fmtp” parameters in SDP. Mismatched settings here usually mean the receiver cannot decode the sender’s bitstream.
Variants§
RtxAssociation(PayloadType)
RTX associated payload type from RFC 4588 section 8.1.
H264PacketizationMode(PacketizationMode)
h264-specific packetization mode
H264ProfileLevelId(String)
H264 profile and level (e.g. “42e01f” for Constrained Baseline Level 3.1)
Vp9ProfileId(Vp9ProfileId)
VP9-specific profile identifier
UseInBandFec(bool)
OPUS-specific flag for in-band forward error correction
Other
Generic catch-all for unknown or vendor parameters
Implementations§
Source§impl CodecSetting
impl CodecSetting
Trait Implementations§
Source§impl Clone for CodecSetting
impl Clone for CodecSetting
Source§fn clone(&self) -> CodecSetting
fn clone(&self) -> CodecSetting
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 Debug for CodecSetting
impl Debug for CodecSetting
Source§impl PartialEq for CodecSetting
impl PartialEq for CodecSetting
impl Eq for CodecSetting
impl StructuralPartialEq for CodecSetting
Auto Trait Implementations§
impl Freeze for CodecSetting
impl RefUnwindSafe for CodecSetting
impl Send for CodecSetting
impl Sync for CodecSetting
impl Unpin for CodecSetting
impl UnsafeUnpin for CodecSetting
impl UnwindSafe for CodecSetting
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