Index: third_party/WebKit/Source/platform/mediastream/MediaStreamSource.cpp |
diff --git a/third_party/WebKit/Source/platform/mediastream/MediaStreamSource.cpp b/third_party/WebKit/Source/platform/mediastream/MediaStreamSource.cpp |
index 5cab26fbe1374d1ffc8d9e23c79f9dd7469bb517..7f5ab9cf6481259a63b95bbad3595ccf2c621494 100644 |
--- a/third_party/WebKit/Source/platform/mediastream/MediaStreamSource.cpp |
+++ b/third_party/WebKit/Source/platform/mediastream/MediaStreamSource.cpp |
@@ -108,6 +108,9 @@ bool MediaStreamSource::RemoveAudioConsumer( |
void MediaStreamSource::GetSettings(WebMediaStreamTrack::Settings& settings) { |
settings.device_id = Id(); |
+ |
+ if (echo_cancellation_.has_value()) |
+ settings.echo_cancellation = *echo_cancellation_; |
} |
void MediaStreamSource::SetAudioFormat(size_t number_of_channels, |