OutputConfig
@siteed/expo-audio-studio / OutputConfig
Interface: OutputConfig
Defined in: src/ExpoAudioStream.types.ts:335
Configuration for audio output files during recording
Properties
compressed?
optionalcompressed:object
Defined in: src/ExpoAudioStream.types.ts:349
Configuration for the compressed output file
bitrate?
optionalbitrate:number
Bitrate for compression in bits per second (default: 128000)
enabled?
optionalenabled:boolean
Whether to create a compressed output file (default: false)
format?
optionalformat:"aac"|"opus"
Format for compression
- 'aac': Advanced Audio Coding - supported on all platforms
- 'opus': Opus encoding - supported on Android and Web; on iOS will automatically fall back to AAC
preferRawStream?
optionalpreferRawStream:boolean
Prefer raw stream over container format (Android only)
- true: Use raw AAC stream (.aac files) like in v2.10.6
- false/undefined: Use M4A container (.m4a files) for better seeking support Note: iOS always produces M4A containers and ignores this flag
primary?
optionalprimary:object
Defined in: src/ExpoAudioStream.types.ts:339
Configuration for the primary (uncompressed) output file
enabled?
optionalenabled:boolean
Whether to create the primary output file (default: true)
format?
optionalformat:"wav"
Format for the primary output (currently only 'wav' is supported)