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

Side by Side Diff: webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCMediaConstraints.mm

Issue 2862543002: Split iOS sdk in to separate targets (Closed)
Patch Set: Add required lib to metal target Created 3 years, 7 months 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 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
11 #import "RTCMediaConstraints+Private.h" 11 #import "PeerConnection/RTCMediaConstraints+Private.h"
12 12
13 #import "NSString+StdString.h" 13 #import "Common/NSString+StdString.h"
14 14
15 #include <memory> 15 #include <memory>
16 16
17 NSString * const kRTCMediaConstraintsMinAspectRatio = 17 NSString * const kRTCMediaConstraintsMinAspectRatio =
18 @(webrtc::MediaConstraintsInterface::kMinAspectRatio); 18 @(webrtc::MediaConstraintsInterface::kMinAspectRatio);
19 NSString * const kRTCMediaConstraintsMaxAspectRatio = 19 NSString * const kRTCMediaConstraintsMaxAspectRatio =
20 @(webrtc::MediaConstraintsInterface::kMaxAspectRatio); 20 @(webrtc::MediaConstraintsInterface::kMaxAspectRatio);
21 NSString * const kRTCMediaConstraintsMinWidth = 21 NSString * const kRTCMediaConstraintsMinWidth =
22 @(webrtc::MediaConstraintsInterface::kMinWidth); 22 @(webrtc::MediaConstraintsInterface::kMinWidth);
23 NSString * const kRTCMediaConstraintsMaxWidth = 23 NSString * const kRTCMediaConstraintsMaxWidth =
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 key.stdString, configValue)); 120 key.stdString, configValue));
121 } else { 121 } else {
122 nativeConstraints.push_back(webrtc::MediaConstraintsInterface::Constraint( 122 nativeConstraints.push_back(webrtc::MediaConstraintsInterface::Constraint(
123 key.stdString, value.stdString)); 123 key.stdString, value.stdString));
124 } 124 }
125 } 125 }
126 return nativeConstraints; 126 return nativeConstraints;
127 } 127 }
128 128
129 @end 129 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698