UInworldAudioCapture | Inherits from: UObject
High-level audio capture system with advanced processing capabilities. This class provides comprehensive audio capture functionality with integrated AEC (Acoustic Echo Cancellation) and VAD (Voice Activity Detection) processing. It manages both input and output audio streams, applies real-time filtering, and provides event-driven notifications for captured audio data.
Key features:
- Dual audio stream capture (input and output for AEC)
- Real-time AEC and VAD processing
- Configurable capture rates and processing settings
- Thread-safe audio buffer management
- Event-driven architecture with capture notifications
- Asynchronous processing pipeline for optimal performance
Methods
Reference
CreateInworldAudioCapture
Creates an instance of UInworldAudioCapture for capturing audio input. This function initializes a new audio capture object, wich can be used to start/stop audio recording.
Examples
Parameters
| Parameter | Type | Description | 
|---|---|---|
| WorldContextObject | UObject* | |
| Config | const FInworldAudioCaptureConfig& | |
| Callback | FOnInworldAudioCaptureCreated | 
StartCapture
Starts capturing audio from the selected input device. This function begins recording audio data from the active capture device. The captured audio is processed and can be retrived using OnAudioCapture event callbacks.
Examples
StopCapture
Stops capturing audio. This function halts the audio capture process and ensures that no further data is recorded. Any buffered audio data is discarded, and no more events will be brodcasted.