Chromium Code Reviews| Index: third_party/WebKit/Source/modules/mediastream/MediaConstraintsImpl.cpp |
| diff --git a/third_party/WebKit/Source/modules/mediastream/MediaConstraintsImpl.cpp b/third_party/WebKit/Source/modules/mediastream/MediaConstraintsImpl.cpp |
| index 56c542d99bb0fa2d43524cb05623ef93976c2a78..6c33f10f85aa7349f9ff613987ccefd8a3a98ede 100644 |
| --- a/third_party/WebKit/Source/modules/mediastream/MediaConstraintsImpl.cpp |
| +++ b/third_party/WebKit/Source/modules/mediastream/MediaConstraintsImpl.cpp |
| @@ -91,6 +91,7 @@ const char kMediaStreamAudioHotword[] = "googHotword"; |
| // TODO(hta): googHotword should go away. https://crbug.com/577627 |
| // From content/renderer/media/media_stream_audio_processor_options.cc |
| const char kEchoCancellation[] = "echoCancellation"; |
| +const char kGoogDisableLocalEcho[] = "googDisableLocalEcho"; |
|
Mike West
2016/09/27 08:03:41
Is this web-exposed? That is, does a developer typ
qiangchen
2016/09/27 16:16:47
It is web exposed. But it is not an API function n
Avi (use Gerrit)
2016/09/27 16:20:34
Waaaaaait. I see lots of "googXXXX" constants in t
qiangchen
2016/09/27 16:32:49
Yes. You can search them on google, and you will f
|
| const char kGoogEchoCancellation[] = "googEchoCancellation"; |
| const char kGoogExperimentalEchoCancellation[] = "googEchoCancellation2"; |
| const char kGoogAutoGainControl[] = "googAutoGainControl"; |
| @@ -294,6 +295,8 @@ static void parseOldStyleNames(ExecutionContext* context, const Vector<NameValue |
| // represented as an enum, and cause type errors. |
| // https://crbug.com/576582 |
| result.mediaStreamSource.setExact(constraint.m_value); |
| + } else if (constraint.m_name.equals(kGoogDisableLocalEcho)) { |
| + result.googDisableLocalEcho.setExact(toBoolean(constraint.m_value)); |
| } else if (constraint.m_name.equals(kMediaStreamSourceId) |
| || constraint.m_name.equals(kMediaStreamSourceInfoId)) { |
| result.deviceId.setExact(constraint.m_value); |