VoiceSettingsService Service
File: src/services/VoiceSettingsService.ts
Overview
Exports
- VoiceSettings - interface export
- VoiceSettingsService - const export
Classes
VoiceSettingsServiceClass
No description available.
Methods:
constructorloadcatchsavegetAllgetDevicesgetAudioConstraintsupdateManysetInputDevicesetOutputDevicesetVideoDevicesetAudioConstraintsvalidateDevicesgetValidatedDevicesreset
Properties:
settingslistenersinitializedlocalStoragestoredparsedtrueonlyinputDeviceoutputDevicevideoDeviceconstraintsechoCancellationnoiseSuppressionautoGainControlsettingvalueoncedevicedeviceIdtochangesdevicesinputoutputvideoinputDevicesoutputDevicesvideoDevicesinputValidoutputValidvideoValidselectionsnullerrorexist
Interfaces
VoiceSettings
No description available.
typescript
interface VoiceSettings {
// Device IDs
selectedInputDevice: string | null;
selectedOutputDevice: string | null;
selectedVideoDevice: string | null;
// Volume levels (0-100)
inputVolume: number;
outputVolume: number;
// Audio processing
echoCancellation: boolean;
noiseSuppression: boolean;
autoGainControl: boolean;
// Video settings
videoQuality: '480p' | '720p' | '1080p';
frameRate: string;
audioBitrate: string;
}Constants
STORAGE_KEY
No description available.
typescript
const STORAGE_KEY = 'voice-settings'DEFAULT_SETTINGS
No description available.
typescript
const DEFAULT_SETTINGS: VoiceSettings = {Source Code Insights
File Size: 7451 characters Lines of Code: 256 Imports: 2
Usage Example
typescript
import { VoiceSettings, VoiceSettingsService } from '@/services/VoiceSettingsService'
// Example usage
// Use the exported functionalityThis documentation was automatically generated from the source code.
