@camera.ui/sdk / sensor / AudioFrameData
Interface: AudioFrameData ​
Defined in: sensor/audio.ts:155
Audio frame data delivered to audio detector sensors by the backend pipeline.
Properties ​
cameraId? ​
optionalcameraId?:string
Defined in: sensor/audio.ts:157
Camera the frame originated from.
channels ​
channels:
number
Defined in: sensor/audio.ts:163
Channel count of the buffer (typically 1 = mono).
data ​
data:
ArrayBuffer|Buffer<ArrayBufferLike>
Defined in: sensor/audio.ts:159
Raw audio sample buffer.
decibels? ​
optionaldecibels?:number
Defined in: sensor/audio.ts:167
Pre-computed decibel level for this frame, if available.
format ​
format:
"pcm16"|"float32"
Defined in: sensor/audio.ts:165
Sample format: 'pcm16' = 16-bit signed integer PCM, 'float32' = 32-bit float.
sampleRate ​
sampleRate:
number
Defined in: sensor/audio.ts:161
Sample rate of the buffer in Hz.
timestamp? ​
optionaltimestamp?:number
Defined in: sensor/audio.ts:169
Capture timestamp in milliseconds since epoch.