| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 // Google-specific constraint keys for a local video source (getUserMedia). | 58 // Google-specific constraint keys for a local video source (getUserMedia). |
| 59 const char MediaConstraintsInterface::kNoiseReduction[] = "googNoiseReduction"; | 59 const char MediaConstraintsInterface::kNoiseReduction[] = "googNoiseReduction"; |
| 60 | 60 |
| 61 // Constraint keys for CreateOffer / CreateAnswer defined in W3C specification. | 61 // Constraint keys for CreateOffer / CreateAnswer defined in W3C specification. |
| 62 const char MediaConstraintsInterface::kOfferToReceiveAudio[] = | 62 const char MediaConstraintsInterface::kOfferToReceiveAudio[] = |
| 63 "OfferToReceiveAudio"; | 63 "OfferToReceiveAudio"; |
| 64 const char MediaConstraintsInterface::kOfferToReceiveVideo[] = | 64 const char MediaConstraintsInterface::kOfferToReceiveVideo[] = |
| 65 "OfferToReceiveVideo"; | 65 "OfferToReceiveVideo"; |
| 66 const char MediaConstraintsInterface::kVoiceActivityDetection[] = | 66 const char MediaConstraintsInterface::kVoiceActivityDetection[] = |
| 67 "VoiceActivityDetection"; | 67 "VoiceActivityDetection"; |
| 68 const char MediaConstraintsInterface::kIceRestart[] = | 68 const char MediaConstraintsInterface::kIceRestart[] = "IceRestart"; |
| 69 "IceRestart"; | 69 const char MediaConstraintsInterface::kIceRenomination[] = "IceRenomination"; |
| 70 // Google specific constraint for BUNDLE enable/disable. | 70 // Google specific constraint for BUNDLE enable/disable. |
| 71 const char MediaConstraintsInterface::kUseRtpMux[] = | 71 const char MediaConstraintsInterface::kUseRtpMux[] = |
| 72 "googUseRtpMUX"; | 72 "googUseRtpMUX"; |
| 73 | 73 |
| 74 // Below constraints should be used during PeerConnection construction. | 74 // Below constraints should be used during PeerConnection construction. |
| 75 const char MediaConstraintsInterface::kEnableDtlsSrtp[] = | 75 const char MediaConstraintsInterface::kEnableDtlsSrtp[] = |
| 76 "DtlsSrtpKeyAgreement"; | 76 "DtlsSrtpKeyAgreement"; |
| 77 const char MediaConstraintsInterface::kEnableRtpDataChannels[] = | 77 const char MediaConstraintsInterface::kEnableRtpDataChannels[] = |
| 78 "RtpDataChannels"; | 78 "RtpDataChannels"; |
| 79 // Google-specific constraint keys. | 79 // Google-specific constraint keys. |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 &configuration->screencast_min_bitrate); | 204 &configuration->screencast_min_bitrate); |
| 205 ConstraintToOptionalBool(constraints, | 205 ConstraintToOptionalBool(constraints, |
| 206 MediaConstraintsInterface::kCombinedAudioVideoBwe, | 206 MediaConstraintsInterface::kCombinedAudioVideoBwe, |
| 207 &configuration->combined_audio_video_bwe); | 207 &configuration->combined_audio_video_bwe); |
| 208 ConstraintToOptionalBool(constraints, | 208 ConstraintToOptionalBool(constraints, |
| 209 MediaConstraintsInterface::kEnableDtlsSrtp, | 209 MediaConstraintsInterface::kEnableDtlsSrtp, |
| 210 &configuration->enable_dtls_srtp); | 210 &configuration->enable_dtls_srtp); |
| 211 } | 211 } |
| 212 | 212 |
| 213 } // namespace webrtc | 213 } // namespace webrtc |
| OLD | NEW |