strong-air-82340
05/04/2026, 3:48 AMtall-airline-16756
05/04/2026, 3:48 AMtall-airline-16756
05/04/2026, 3:48 AMsetVolume() for local audio. Use browser/OS mic settings or apply gain using the Web Audio API before publishing the track (create a MediaStreamSource → GainNode → destination).
• Mobile (iOS/Android/Flutter): there’s no direct SDK API to change local input volume. Use system microphone settings or implement custom audio pre-processing on the device if you need gain control.
• If you only need mute/unmute: use the SDK’s microphone enable/mute method (e.g., setMicrophoneEnabled()).
Would you like a short code example for the Web Audio API approach or tell me which platform/framework you’re using (web, iOS, Android, Flutter)? I’ll provide targeted steps.
Sources: Agent speech and audio | LiveKit Documentation, with interactive elements