quick-cricket-70531
12/29/2025, 12:59 PMShortArray. We do not want to use the device microphone.
In @livekit/react-native, is there an official/supported API to:
override WebRTC’s audio capture via a custom AudioDeviceModule, or
• push raw PCM frames into the capture path (e.g., for LocalAudioTrack)?
LiveKitReactNative.setup() appears to set the ADM internally—can it be replaced, and if yes, how?tall-airline-16756
12/29/2025, 12:59 PMtall-airline-16756
12/29/2025, 12:59 PMquick-cricket-70531
12/29/2025, 1:05 PMShortArray PCM (16kHz, mono) from Bluetooth device in native code. We can modify native LiveKit module.
Approach: Modify LiveKit native client to use custom AudioDeviceModule (not virtual-mic).
Request: Please provide exact Android steps and code snippets for:
1. Creating custom ADM that accepts ShortArray PCM frames
2. Wiring it into PeerConnectionFactory used by LiveKit RN
3. Ensuring LiveKitReactNative.setup() uses our custom ADM
Context: Audio arrives as 16kHz mono ShortArray, we'll resample to 48kHz, need to feed 10ms frames at stable rate.tall-airline-16756
12/29/2025, 1:05 PM