We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59069e0 commit 545653bCopy full SHA for 545653b
src/rtc_peerconnection_factory_impl.cc
@@ -206,7 +206,7 @@ scoped_refptr<RTCAudioSource> RTCPeerConnectionFactoryImpl::CreateAudioSource(
206
const string audio_source_label, RTCAudioSource::SourceType source_type) {
207
auto options = webrtc::AudioOptions();
208
webrtc::scoped_refptr<libwebrtc::LocalAudioSource> rtc_source_track =
209
- CreateAudioSourceWithOptions(&options);
+ CreateAudioSourceWithOptions(&options, source_type == RTCAudioSource::SourceType::kCustom);
210
scoped_refptr<RTCAudioSourceImpl> source = scoped_refptr<RTCAudioSourceImpl>(
211
new RefCountedObject<RTCAudioSourceImpl>(rtc_source_track, source_type));
212
return source;
0 commit comments