summaryrefslogtreecommitdiffstats
path: root/content/renderer
diff options
context:
space:
mode:
Diffstat (limited to 'content/renderer')
-rw-r--r--content/renderer/media/webrtc_audio_capturer.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/content/renderer/media/webrtc_audio_capturer.cc b/content/renderer/media/webrtc_audio_capturer.cc
index 8e78142..35f25ee 100644
--- a/content/renderer/media/webrtc_audio_capturer.cc
+++ b/content/renderer/media/webrtc_audio_capturer.cc
@@ -315,6 +315,9 @@ void WebRtcAudioCapturer::SetCapturerSource(
source_.swap(old_source);
source_ = source;
current_buffer = buffer_;
+
+ // Reset the flag to allow calling Start() for the new source.
+ running_ = false;
}
const bool no_default_audio_source_exists = !current_buffer;