OLD | NEW |
1 /* | 1 /* |
2 * libjingle | 2 * libjingle |
3 * Copyright 2013 Google Inc. | 3 * Copyright 2013 Google Inc. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are met: | 6 * modification, are permitted provided that the following conditions are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright notice, | 8 * 1. Redistributions of source code must retain the above copyright notice, |
9 * this list of conditions and the following disclaimer. | 9 * this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright notice, | 10 * 2. Redistributions in binary form must reproduce the above copyright notice, |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 | 73 |
74 // Constraint keys used by a local audio source. | 74 // Constraint keys used by a local audio source. |
75 // These keys are google specific. | 75 // These keys are google specific. |
76 // TODO(tommi): Change kEchoCancellation to be "echoCancellation" once | 76 // TODO(tommi): Change kEchoCancellation to be "echoCancellation" once |
77 // Chrome has been updated to use kGoogEchoCancellation where the 'goog' | 77 // Chrome has been updated to use kGoogEchoCancellation where the 'goog' |
78 // variant is needed. | 78 // variant is needed. |
79 // See https://code.google.com/p/webrtc/issues/detail?id=4747 | 79 // See https://code.google.com/p/webrtc/issues/detail?id=4747 |
80 static const char kEchoCancellation[]; // googEchoCancellation | 80 static const char kEchoCancellation[]; // googEchoCancellation |
81 static const char kGoogEchoCancellation[]; // googEchoCancellation | 81 static const char kGoogEchoCancellation[]; // googEchoCancellation |
82 | 82 |
83 // TODO(henrik.lundin) Remove kExperimentalEchoCancellation. | |
84 // https://code.google.com/p/webrtc/issues/detail?id=4696 | |
85 static const char kExperimentalEchoCancellation[]; // googEchoCancellation2 | |
86 static const char kExtendedFilterEchoCancellation[]; // googEchoCancellation2 | 83 static const char kExtendedFilterEchoCancellation[]; // googEchoCancellation2 |
87 static const char kDAEchoCancellation[]; // googDAEchoCancellation | 84 static const char kDAEchoCancellation[]; // googDAEchoCancellation |
88 static const char kAutoGainControl[]; // googAutoGainControl | 85 static const char kAutoGainControl[]; // googAutoGainControl |
89 static const char kExperimentalAutoGainControl[]; // googAutoGainControl2 | 86 static const char kExperimentalAutoGainControl[]; // googAutoGainControl2 |
90 static const char kNoiseSuppression[]; // googNoiseSuppression | 87 static const char kNoiseSuppression[]; // googNoiseSuppression |
91 static const char kExperimentalNoiseSuppression[]; // googNoiseSuppression2 | 88 static const char kExperimentalNoiseSuppression[]; // googNoiseSuppression2 |
92 static const char kHighpassFilter[]; // googHighpassFilter | 89 static const char kHighpassFilter[]; // googHighpassFilter |
93 static const char kTypingNoiseDetection[]; // googTypingNoiseDetection | 90 static const char kTypingNoiseDetection[]; // googTypingNoiseDetection |
94 static const char kAudioMirroring[]; // googAudioMirroring | 91 static const char kAudioMirroring[]; // googAudioMirroring |
95 static const char kAecDump[]; // audioDebugRecording | 92 static const char kAecDump[]; // audioDebugRecording |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 virtual ~MediaConstraintsInterface() {} | 149 virtual ~MediaConstraintsInterface() {} |
153 }; | 150 }; |
154 | 151 |
155 bool FindConstraint(const MediaConstraintsInterface* constraints, | 152 bool FindConstraint(const MediaConstraintsInterface* constraints, |
156 const std::string& key, bool* value, | 153 const std::string& key, bool* value, |
157 size_t* mandatory_constraints); | 154 size_t* mandatory_constraints); |
158 | 155 |
159 } // namespace webrtc | 156 } // namespace webrtc |
160 | 157 |
161 #endif // TALK_APP_WEBRTC_MEDIACONSTRAINTSINTERFACE_H_ | 158 #endif // TALK_APP_WEBRTC_MEDIACONSTRAINTSINTERFACE_H_ |
OLD | NEW |