| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2015 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 17 matching lines...) Expand all Loading... |
| 28 @(webrtc::MediaConstraintsInterface::kMaxHeight); | 28 @(webrtc::MediaConstraintsInterface::kMaxHeight); |
| 29 NSString * const kRTCMediaConstraintsMinFrameRate = | 29 NSString * const kRTCMediaConstraintsMinFrameRate = |
| 30 @(webrtc::MediaConstraintsInterface::kMinFrameRate); | 30 @(webrtc::MediaConstraintsInterface::kMinFrameRate); |
| 31 NSString * const kRTCMediaConstraintsMaxFrameRate = | 31 NSString * const kRTCMediaConstraintsMaxFrameRate = |
| 32 @(webrtc::MediaConstraintsInterface::kMaxFrameRate); | 32 @(webrtc::MediaConstraintsInterface::kMaxFrameRate); |
| 33 NSString * const kRTCMediaConstraintsLevelControl = | 33 NSString * const kRTCMediaConstraintsLevelControl = |
| 34 @(webrtc::MediaConstraintsInterface::kLevelControl); | 34 @(webrtc::MediaConstraintsInterface::kLevelControl); |
| 35 NSString * const kRTCMediaConstraintsAudioNetworkAdaptorConfig = | 35 NSString * const kRTCMediaConstraintsAudioNetworkAdaptorConfig = |
| 36 @(webrtc::MediaConstraintsInterface::kAudioNetworkAdaptorConfig); | 36 @(webrtc::MediaConstraintsInterface::kAudioNetworkAdaptorConfig); |
| 37 | 37 |
| 38 NSString * const kRTCMediaConstraintsIceRestart = |
| 39 @(webrtc::MediaConstraintsInterface::kIceRestart); |
| 40 NSString * const kRTCMediaConstraintsOfferToReceiveAudio = |
| 41 @(webrtc::MediaConstraintsInterface::kOfferToReceiveAudio); |
| 42 NSString * const kRTCMediaConstraintsOfferToReceiveVideo = |
| 43 @(webrtc::MediaConstraintsInterface::kOfferToReceiveVideo); |
| 44 NSString * const kRTCMediaConstraintsVoiceActivityDetection = |
| 45 @(webrtc::MediaConstraintsInterface::kVoiceActivityDetection); |
| 46 |
| 38 NSString * const kRTCMediaConstraintsValueTrue = | 47 NSString * const kRTCMediaConstraintsValueTrue = |
| 39 @(webrtc::MediaConstraintsInterface::kValueTrue); | 48 @(webrtc::MediaConstraintsInterface::kValueTrue); |
| 40 NSString * const kRTCMediaConstraintsValueFalse = | 49 NSString * const kRTCMediaConstraintsValueFalse = |
| 41 @(webrtc::MediaConstraintsInterface::kValueFalse); | 50 @(webrtc::MediaConstraintsInterface::kValueFalse); |
| 42 | 51 |
| 43 namespace webrtc { | 52 namespace webrtc { |
| 44 | 53 |
| 45 MediaConstraints::~MediaConstraints() {} | 54 MediaConstraints::~MediaConstraints() {} |
| 46 | 55 |
| 47 MediaConstraints::MediaConstraints() {} | 56 MediaConstraints::MediaConstraints() {} |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 key.stdString, configValue)); | 129 key.stdString, configValue)); |
| 121 } else { | 130 } else { |
| 122 nativeConstraints.push_back(webrtc::MediaConstraintsInterface::Constraint( | 131 nativeConstraints.push_back(webrtc::MediaConstraintsInterface::Constraint( |
| 123 key.stdString, value.stdString)); | 132 key.stdString, value.stdString)); |
| 124 } | 133 } |
| 125 } | 134 } |
| 126 return nativeConstraints; | 135 return nativeConstraints; |
| 127 } | 136 } |
| 128 | 137 |
| 129 @end | 138 @end |
| OLD | NEW |