On an android-powered box the audio input suffers overrun. The native sampling rate is 44k. How to reduce the sampling rate to 16k? The following constraints appears to have no effect:
const constraints = {
audio: {
sampleRate: 16000,
},
...
}
From code I can see react-native-webrtc does pass the constraints down to webrtc. Is there a way to force the sampling rate lower in webrtc itself?
Thanks!