pub struct BrowserAudioPayloads {
pub opus: u8,
pub pcmu: u8,
pub pcma: u8,
pub comfort_noise: u8,
pub telephone_event: u8,
}Expand description
Payload numbers carrying the required audio vocabulary.
Fields§
§opus: u8Opus at 48 kHz and two RTP channels.
pcmu: u8G.711 mu-law.
pcma: u8G.711 A-law.
comfort_noise: u8Comfort noise at 8 kHz.
telephone_event: u8RFC 4733 telephone events at 8 kHz.
Trait Implementations§
Source§impl Clone for BrowserAudioPayloads
impl Clone for BrowserAudioPayloads
Source§fn clone(&self) -> BrowserAudioPayloads
fn clone(&self) -> BrowserAudioPayloads
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 moreSource§impl Debug for BrowserAudioPayloads
impl Debug for BrowserAudioPayloads
Source§impl PartialEq for BrowserAudioPayloads
impl PartialEq for BrowserAudioPayloads
Source§fn eq(&self, other: &BrowserAudioPayloads) -> bool
fn eq(&self, other: &BrowserAudioPayloads) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for BrowserAudioPayloads
impl Eq for BrowserAudioPayloads
impl StructuralPartialEq for BrowserAudioPayloads
Auto Trait Implementations§
impl Freeze for BrowserAudioPayloads
impl RefUnwindSafe for BrowserAudioPayloads
impl Send for BrowserAudioPayloads
impl Sync for BrowserAudioPayloads
impl Unpin for BrowserAudioPayloads
impl UnsafeUnpin for BrowserAudioPayloads
impl UnwindSafe for BrowserAudioPayloads
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