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

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

Issue 2437803004: Adding googAudioNetworkAdaptorConfig to MediaConstraintsInterface. (Closed)
Patch Set: Created 4 years, 1 month 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
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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
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[] = 52 const char MediaConstraintsInterface::kLevelControlInitialPeakLevelDBFS[] =
53 "levelControlInitialPeakLevelDBFS"; 53 "levelControlInitialPeakLevelDBFS";
54 const char MediaConstraintsInterface::kHighpassFilter[] = 54 const char MediaConstraintsInterface::kHighpassFilter[] =
55 "googHighpassFilter"; 55 "googHighpassFilter";
56 const char MediaConstraintsInterface::kTypingNoiseDetection[] = 56 const char MediaConstraintsInterface::kTypingNoiseDetection[] =
57 "googTypingNoiseDetection"; 57 "googTypingNoiseDetection";
58 const char MediaConstraintsInterface::kAudioMirroring[] = "googAudioMirroring"; 58 const char MediaConstraintsInterface::kAudioMirroring[] = "googAudioMirroring";
59 const char MediaConstraintsInterface::kAudioNetworkAdaptorConfig[] =
60 "audioNetworkAdaptorConfig";
the sun 2016/11/09 10:14:25 I don't know whether this should be a "goog" const
hta-webrtc 2016/11/24 14:29:53 This should be a "goog" constraint.
59 61
60 // Google-specific constraint keys for a local video source (getUserMedia). 62 // Google-specific constraint keys for a local video source (getUserMedia).
61 const char MediaConstraintsInterface::kNoiseReduction[] = "googNoiseReduction"; 63 const char MediaConstraintsInterface::kNoiseReduction[] = "googNoiseReduction";
62 64
63 // Constraint keys for CreateOffer / CreateAnswer defined in W3C specification. 65 // Constraint keys for CreateOffer / CreateAnswer defined in W3C specification.
64 const char MediaConstraintsInterface::kOfferToReceiveAudio[] = 66 const char MediaConstraintsInterface::kOfferToReceiveAudio[] =
65 "OfferToReceiveAudio"; 67 "OfferToReceiveAudio";
66 const char MediaConstraintsInterface::kOfferToReceiveVideo[] = 68 const char MediaConstraintsInterface::kOfferToReceiveVideo[] =
67 "OfferToReceiveVideo"; 69 "OfferToReceiveVideo";
68 const char MediaConstraintsInterface::kVoiceActivityDetection[] = 70 const char MediaConstraintsInterface::kVoiceActivityDetection[] =
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 &configuration->screencast_min_bitrate); 208 &configuration->screencast_min_bitrate);
207 ConstraintToOptionalBool(constraints, 209 ConstraintToOptionalBool(constraints,
208 MediaConstraintsInterface::kCombinedAudioVideoBwe, 210 MediaConstraintsInterface::kCombinedAudioVideoBwe,
209 &configuration->combined_audio_video_bwe); 211 &configuration->combined_audio_video_bwe);
210 ConstraintToOptionalBool(constraints, 212 ConstraintToOptionalBool(constraints,
211 MediaConstraintsInterface::kEnableDtlsSrtp, 213 MediaConstraintsInterface::kEnableDtlsSrtp,
212 &configuration->enable_dtls_srtp); 214 &configuration->enable_dtls_srtp);
213 } 215 }
214 216
215 } // namespace webrtc 217 } // namespace webrtc
OLDNEW
« webrtc/api/localaudiosource.cc ('K') | « webrtc/api/mediaconstraintsinterface.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698