diff --git a/windows/wrapper/impl_org_webRtc_WebRtcFactory.cpp b/windows/wrapper/impl_org_webRtc_WebRtcFactory.cpp index 7e9a5db..c9fcf75 100644 --- a/windows/wrapper/impl_org_webRtc_WebRtcFactory.cpp +++ b/windows/wrapper/impl_org_webRtc_WebRtcFactory.cpp @@ -348,8 +348,8 @@ void WrapperImplType::setup() noexcept RTC_FROM_HERE, [audioCapturingEnabled, audioRenderingEnabled]() { webrtc::IAudioDeviceWasapi::CreationProperties props; props.id_ = ""; - props.playoutEnabled_ = audioCapturingEnabled; - props.recordingEnabled_ = audioRenderingEnabled; + props.playoutEnabled_ = audioRenderingEnabled; + props.recordingEnabled_ = audioCapturingEnabled; return rtc::scoped_refptr<::webrtc::AudioDeviceModule>(webrtc::IAudioDeviceWasapi::create(props)); });