From 4e762945eaede2fe575eefe79f020eccb587bbfc Mon Sep 17 00:00:00 2001 From: Natalie Bridgers Date: Tue, 7 Oct 2025 19:18:36 -0500 Subject: [PATCH] add android stuff --- .../src/config-react-native-webrtc.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/config-react-native-webrtc/src/config-react-native-webrtc.ts b/js/config-react-native-webrtc/src/config-react-native-webrtc.ts index 94ea54ec..813e7db1 100644 --- a/js/config-react-native-webrtc/src/config-react-native-webrtc.ts +++ b/js/config-react-native-webrtc/src/config-react-native-webrtc.ts @@ -43,6 +43,8 @@ class MainApplication : Application(), ReactApplication {`, .build() options.audioDeviceModule = JavaAudioDeviceModule.builder(this) .setAudioAttributes(audioAttributes) + .setUseStereoInput(true) + .setUseStereoOutput(true) .createAudioDeviceModule() `, }, @@ -141,6 +143,8 @@ const iosDelegateReplacements = [ let options = WebRTCModuleOptions.sharedInstance() options.loggingSeverity = .warning options.audioDevice = device + // Enable stereo audio + options.enableStereoOutput = true // End WebRTC Configuration let delegate = ReactNativeDelegate() -- 2.51.2