audio_mixer
Combine multiple audio inputs into a single mixed output. Idle channels are silenced via Zero Gain Optimization (GainNode.gain = 0) so the browser skips downstream DSP for tracks without audible signal.
Example
Section titled “Example”{ "name": "mix_audio", "type": "audio_mixer", "inputs": ["room_src"], "config": { "sampleRate": 48000, "channels": 2, "audioLevels": { "enabled": true, "intervalMs": 200 } }}Config
Section titled “Config”| Field | Type | Default | Description |
|---|---|---|---|
sampleRate | int | 48000 | Output sample rate (snapped to 8k–48k) |
channels | int | 2 | 1 or 2 |
audioLevels | object | off | Per-participant volume reporting for clients |
audioLevels
Section titled “audioLevels”| Field | Default | Description |
|---|---|---|
enabled | false | Emit volume tiers to supporting sinks |
intervalMs | 200 | Report interval |
levels | 5 | Number of volume tiers (2–256) |
floorDb | -50 | Silence threshold |
Pricing
Section titled “Pricing”$0.0005/min of actual processing time. Node pricing.