pub struct MultiUserConfig {
pub max_users_per_room: usize,
pub max_sources_per_user: usize,
pub sync_interval_ms: u64,
pub max_latency_ms: f64,
pub voice_activity_threshold: f32,
pub audio_quality: f32,
pub position_interpolation: bool,
pub max_audio_distance: f32,
pub attenuation_curve: MultiUserAttenuationCurve,
pub privacy_settings: PrivacySettings,
pub bandwidth_settings: BandwidthSettings,
}Expand description
Configuration for multi-user spatial audio environment
Fields§
§max_users_per_room: usizeMaximum number of users per room
max_sources_per_user: usizeMaximum number of audio sources per user
sync_interval_ms: u64Network synchronization interval in milliseconds
max_latency_ms: f64Maximum latency tolerance in milliseconds
voice_activity_threshold: f32Voice activity detection threshold
audio_quality: f32Spatial audio processing quality (0.0-1.0)
position_interpolation: boolEnable position interpolation for smooth movement
max_audio_distance: f32Maximum distance for audio interaction
attenuation_curve: MultiUserAttenuationCurveDistance-based volume attenuation curve
privacy_settings: PrivacySettingsPrivacy and security settings
bandwidth_settings: BandwidthSettingsBandwidth optimization settings
Trait Implementations§
Source§impl Clone for MultiUserConfig
impl Clone for MultiUserConfig
Source§fn clone(&self) -> MultiUserConfig
fn clone(&self) -> MultiUserConfig
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 MultiUserConfig
impl Debug for MultiUserConfig
Source§impl Default for MultiUserConfig
impl Default for MultiUserConfig
Source§impl<'de> Deserialize<'de> for MultiUserConfig
impl<'de> Deserialize<'de> for MultiUserConfig
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
Auto Trait Implementations§
impl Freeze for MultiUserConfig
impl RefUnwindSafe for MultiUserConfig
impl Send for MultiUserConfig
impl Sync for MultiUserConfig
impl Unpin for MultiUserConfig
impl UnsafeUnpin for MultiUserConfig
impl UnwindSafe for MultiUserConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more