[−][src]Enum agorartc_sys::agorartc::AUDIO_PROFILE_TYPE
Audio profiles.
Sets the sample rate, bitrate, encoding mode, and the number of channels:
Variants
0: Default audio profile:
- For the interactive streaming profile: A sample rate of 48 KHz, music encoding, mono, and a bitrate of up to 64 Kbps.
- For the
COMMUNICATION
profile:- Windows: A sample rate of 16 KHz, music encoding, mono, and a bitrate of up to 16 Kbps.
- Android/macOS/iOS: A sample rate of 32 KHz, music encoding, mono, and a bitrate of up to 18 Kbps.
1: A sample rate of 32 KHz, audio encoding, mono, and a bitrate of up to 18 Kbps.
2: A sample rate of 48 KHz, music encoding, mono, and a bitrate of up to 64 Kbps.
3: A sample rate of 48 KHz, music encoding, stereo, and a bitrate of up to 80 Kbps.
4: A sample rate of 48 KHz, music encoding, mono, and a bitrate of up to 96 Kbps.
5: A sample rate of 48 KHz, music encoding, stereo, and a bitrate of up to 128 Kbps.
6: A sample rate of 16 KHz, audio encoding, mono, and Acoustic Echo Cancellation (AES) enabled.
Trait Implementations
impl FromPrimitive for AUDIO_PROFILE_TYPE
[src]
pub fn from_i64(n: i64) -> Option<Self>
[src]
pub fn from_u64(n: u64) -> Option<Self>
[src]
pub fn from_isize(n: isize) -> Option<Self>
[src]
pub fn from_i8(n: i8) -> Option<Self>
[src]
pub fn from_i16(n: i16) -> Option<Self>
[src]
pub fn from_i32(n: i32) -> Option<Self>
[src]
pub fn from_i128(n: i128) -> Option<Self>
[src]
pub fn from_usize(n: usize) -> Option<Self>
[src]
pub fn from_u8(n: u8) -> Option<Self>
[src]
pub fn from_u16(n: u16) -> Option<Self>
[src]
pub fn from_u32(n: u32) -> Option<Self>
[src]
pub fn from_u128(n: u128) -> Option<Self>
[src]
pub fn from_f32(n: f32) -> Option<Self>
[src]
pub fn from_f64(n: f64) -> Option<Self>
[src]
Auto Trait Implementations
impl RefUnwindSafe for AUDIO_PROFILE_TYPE
impl Send for AUDIO_PROFILE_TYPE
impl Sync for AUDIO_PROFILE_TYPE
impl Unpin for AUDIO_PROFILE_TYPE
impl UnwindSafe for AUDIO_PROFILE_TYPE
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,