Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Unified Diff: third_party/WebKit/Source/platform/exported/WebMediaConstraints.cpp

Issue 2291893002: Let Contraints Controll Mute/Unmute Audio Local Playback For Desktop Sharing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove Debug Code Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/exported/WebMediaConstraints.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebMediaConstraints.cpp b/third_party/WebKit/Source/platform/exported/WebMediaConstraints.cpp
index 2ef844e0002bb8293133364d89bd6f71d51cc582..4af1df1b538e7b88408c3714c30be52597f9c8b8 100644
--- a/third_party/WebKit/Source/platform/exported/WebMediaConstraints.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebMediaConstraints.cpp
@@ -384,6 +384,7 @@ WebMediaTrackConstraintSet::WebMediaTrackConstraintSet()
, deviceId("deviceId")
, groupId("groupId")
, mediaStreamSource("mediaStreamSource")
+ , muteSourceAudio("muteSourceAudio")
, renderToAssociatedSink("chromeRenderToAssociatedSink")
, hotwordEnabled("hotwordEnabled")
, googEchoCancellation("googEchoCancellation")
@@ -430,7 +431,7 @@ std::vector<const BaseConstraint*> WebMediaTrackConstraintSet::allConstraints()
const BaseConstraint* temp[] = {
&width, &height, &aspectRatio, &frameRate, &facingMode, &volume,
&sampleRate, &sampleSize, &echoCancellation, &latency, &channelCount,
- &deviceId, &groupId, &mediaStreamSource, &renderToAssociatedSink,
+ &deviceId, &groupId, &mediaStreamSource, &muteSourceAudio, &renderToAssociatedSink,
&hotwordEnabled, &googEchoCancellation,
&googExperimentalEchoCancellation, &googAutoGainControl,
&googExperimentalAutoGainControl, &googNoiseSuppression,

Powered by Google App Engine
This is Rietveld 408576698