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

Side by Side Diff: webrtc/api/mediaconstraintsinterface.cc

Issue 2408143003: Added a level controller initialization value to MediaConstraints. (Closed)
Patch Set: Rebase. Created 4 years, 2 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 unified diff | Download patch
« no previous file with comments | « webrtc/api/mediaconstraintsinterface.h ('k') | webrtc/media/base/mediachannel.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2013 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 "googAutoGainControl"; 42 "googAutoGainControl";
43 const char MediaConstraintsInterface::kExperimentalAutoGainControl[] = 43 const char MediaConstraintsInterface::kExperimentalAutoGainControl[] =
44 "googAutoGainControl2"; 44 "googAutoGainControl2";
45 const char MediaConstraintsInterface::kNoiseSuppression[] = 45 const char MediaConstraintsInterface::kNoiseSuppression[] =
46 "googNoiseSuppression"; 46 "googNoiseSuppression";
47 const char MediaConstraintsInterface::kExperimentalNoiseSuppression[] = 47 const char MediaConstraintsInterface::kExperimentalNoiseSuppression[] =
48 "googNoiseSuppression2"; 48 "googNoiseSuppression2";
49 const char MediaConstraintsInterface::kIntelligibilityEnhancer[] = 49 const char MediaConstraintsInterface::kIntelligibilityEnhancer[] =
50 "intelligibilityEnhancer"; 50 "intelligibilityEnhancer";
51 const char MediaConstraintsInterface::kLevelControl[] = "levelControl"; 51 const char MediaConstraintsInterface::kLevelControl[] = "levelControl";
52 const char MediaConstraintsInterface::kLevelControlInitialPeakLevelDBFS[] =
53 "levelControlInitialPeakLevelDBFS";
52 const char MediaConstraintsInterface::kHighpassFilter[] = 54 const char MediaConstraintsInterface::kHighpassFilter[] =
53 "googHighpassFilter"; 55 "googHighpassFilter";
54 const char MediaConstraintsInterface::kTypingNoiseDetection[] = 56 const char MediaConstraintsInterface::kTypingNoiseDetection[] =
55 "googTypingNoiseDetection"; 57 "googTypingNoiseDetection";
56 const char MediaConstraintsInterface::kAudioMirroring[] = "googAudioMirroring"; 58 const char MediaConstraintsInterface::kAudioMirroring[] = "googAudioMirroring";
57 59
58 // Google-specific constraint keys for a local video source (getUserMedia). 60 // Google-specific constraint keys for a local video source (getUserMedia).
59 const char MediaConstraintsInterface::kNoiseReduction[] = "googNoiseReduction"; 61 const char MediaConstraintsInterface::kNoiseReduction[] = "googNoiseReduction";
60 62
61 // Constraint keys for CreateOffer / CreateAnswer defined in W3C specification. 63 // Constraint keys for CreateOffer / CreateAnswer defined in W3C specification.
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 &configuration->screencast_min_bitrate); 206 &configuration->screencast_min_bitrate);
205 ConstraintToOptionalBool(constraints, 207 ConstraintToOptionalBool(constraints,
206 MediaConstraintsInterface::kCombinedAudioVideoBwe, 208 MediaConstraintsInterface::kCombinedAudioVideoBwe,
207 &configuration->combined_audio_video_bwe); 209 &configuration->combined_audio_video_bwe);
208 ConstraintToOptionalBool(constraints, 210 ConstraintToOptionalBool(constraints,
209 MediaConstraintsInterface::kEnableDtlsSrtp, 211 MediaConstraintsInterface::kEnableDtlsSrtp,
210 &configuration->enable_dtls_srtp); 212 &configuration->enable_dtls_srtp);
211 } 213 }
212 214
213 } // namespace webrtc 215 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/api/mediaconstraintsinterface.h ('k') | webrtc/media/base/mediachannel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698