OLD | NEW |
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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 | 81 |
82 // Google-specific constraint keys for a local video source | 82 // Google-specific constraint keys for a local video source |
83 static const char kNoiseReduction[]; // googNoiseReduction | 83 static const char kNoiseReduction[]; // googNoiseReduction |
84 | 84 |
85 // Constraint keys for CreateOffer / CreateAnswer | 85 // Constraint keys for CreateOffer / CreateAnswer |
86 // Specified by the W3C PeerConnection spec | 86 // Specified by the W3C PeerConnection spec |
87 static const char kOfferToReceiveVideo[]; // OfferToReceiveVideo | 87 static const char kOfferToReceiveVideo[]; // OfferToReceiveVideo |
88 static const char kOfferToReceiveAudio[]; // OfferToReceiveAudio | 88 static const char kOfferToReceiveAudio[]; // OfferToReceiveAudio |
89 static const char kVoiceActivityDetection[]; // VoiceActivityDetection | 89 static const char kVoiceActivityDetection[]; // VoiceActivityDetection |
90 static const char kIceRestart[]; // IceRestart | 90 static const char kIceRestart[]; // IceRestart |
| 91 static const char kIceRenomination[]; |
91 // These keys are google specific. | 92 // These keys are google specific. |
92 static const char kUseRtpMux[]; // googUseRtpMUX | 93 static const char kUseRtpMux[]; // googUseRtpMUX |
93 | 94 |
94 // Constraints values. | 95 // Constraints values. |
95 static const char kValueTrue[]; // true | 96 static const char kValueTrue[]; // true |
96 static const char kValueFalse[]; // false | 97 static const char kValueFalse[]; // false |
97 | 98 |
98 // PeerConnection constraint keys. | 99 // PeerConnection constraint keys. |
99 // Temporary pseudo-constraints used to enable DTLS-SRTP | 100 // Temporary pseudo-constraints used to enable DTLS-SRTP |
100 static const char kEnableDtlsSrtp[]; // Enable DTLS-SRTP | 101 static const char kEnableDtlsSrtp[]; // Enable DTLS-SRTP |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 size_t* mandatory_constraints); | 134 size_t* mandatory_constraints); |
134 | 135 |
135 // Copy all relevant constraints into an RTCConfiguration object. | 136 // Copy all relevant constraints into an RTCConfiguration object. |
136 void CopyConstraintsIntoRtcConfiguration( | 137 void CopyConstraintsIntoRtcConfiguration( |
137 const MediaConstraintsInterface* constraints, | 138 const MediaConstraintsInterface* constraints, |
138 PeerConnectionInterface::RTCConfiguration* configuration); | 139 PeerConnectionInterface::RTCConfiguration* configuration); |
139 | 140 |
140 } // namespace webrtc | 141 } // namespace webrtc |
141 | 142 |
142 #endif // WEBRTC_API_MEDIACONSTRAINTSINTERFACE_H_ | 143 #endif // WEBRTC_API_MEDIACONSTRAINTSINTERFACE_H_ |
OLD | NEW |