pub enum VoiceCallCodec {
Opus,
Pcmu,
Pcma,
}Expand description
The audio codec a call negotiated, stamped once audio flows. Wire-
stable snake_case strings matching the daemon’s CallCodec enum —
the platform validates against this exact list, so a rename here
would bounce every upload with a 400. New codecs (e.g. ilbc) are
wire additions, not replacements.
Consumers render this as a quality tier (“HD” for Opus, “Standard” for the G.711 pair), not the codec name alone — see the desktop client’s call-details page for the canonical presentation.
Variants§
Opus
Opus wideband (16 kHz) — the “HD” tier.
Pcmu
G.711 µ-law — the narrowband “Standard” tier.
Pcma
G.711 A-law — the narrowband “Standard” tier.
Trait Implementations§
Source§impl Clone for VoiceCallCodec
impl Clone for VoiceCallCodec
Source§fn clone(&self) -> VoiceCallCodec
fn clone(&self) -> VoiceCallCodec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VoiceCallCodec
Source§impl Debug for VoiceCallCodec
impl Debug for VoiceCallCodec
Source§impl<'de> Deserialize<'de> for VoiceCallCodec
impl<'de> Deserialize<'de> for VoiceCallCodec
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
impl Eq for VoiceCallCodec
Source§impl PartialEq for VoiceCallCodec
impl PartialEq for VoiceCallCodec
Source§impl Serialize for VoiceCallCodec
impl Serialize for VoiceCallCodec
impl StructuralPartialEq for VoiceCallCodec
Auto Trait Implementations§
impl Freeze for VoiceCallCodec
impl RefUnwindSafe for VoiceCallCodec
impl Send for VoiceCallCodec
impl Sync for VoiceCallCodec
impl Unpin for VoiceCallCodec
impl UnsafeUnpin for VoiceCallCodec
impl UnwindSafe for VoiceCallCodec
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