Core technical specifications and features
mainMetaVoiceChat is a high-performance, modular audio system for Unity with the following characteristics:
Audio Specifications
- Sampling Frequency: 48kHz
- Bandwidth: Wideband Opus (SILK mode)
- Channels: Single audio channel (Mono)
- Bit Depth: 16-bit audio
- Loop Time: 1 second input and output audio clip loop
- Average Latency: ~200 ms with default settings
Key Features
- Zero Garbage: No memory garbage is created at runtime due to the use of pooled data buffers.
- Latency Compensation: Uses a dynamic buffer latency compensation system (P-controller) that adjusts based on RMS jitter, sender/host/receiver FPS, and server FPS.
- Microphone Management:
- Automatic reconnection via
VcMicAudioInput.SetSelectedDevice(string device). VcMicAudioInput.OnActiveDeviceChangedevent for monitoring device changes.
- Automatic reconnection via
- Reactive Properties: Provides events for
Speaking,Deafening yourself,Input muting yourself, andOutput muting others.