| 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 |
| 11 #import "RTCIceCandidate+Private.h" | 11 #import "PeerConnection/RTCIceCandidate+Private.h" |
| 12 | 12 |
| 13 #include <memory> | 13 #include <memory> |
| 14 | 14 |
| 15 #import "NSString+StdString.h" | 15 #import "Common/NSString+StdString.h" |
| 16 #import "WebRTC/RTCLogging.h" | 16 #import "WebRTC/RTCLogging.h" |
| 17 | 17 |
| 18 @implementation RTCIceCandidate | 18 @implementation RTCIceCandidate |
| 19 | 19 |
| 20 @synthesize sdpMid = _sdpMid; | 20 @synthesize sdpMid = _sdpMid; |
| 21 @synthesize sdpMLineIndex = _sdpMLineIndex; | 21 @synthesize sdpMLineIndex = _sdpMLineIndex; |
| 22 @synthesize sdp = _sdp; | 22 @synthesize sdp = _sdp; |
| 23 @synthesize serverUrl = _serverUrl; | 23 @synthesize serverUrl = _serverUrl; |
| 24 | 24 |
| 25 - (instancetype)initWithSdp:(NSString *)sdp | 25 - (instancetype)initWithSdp:(NSString *)sdp |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 if (!candidate) { | 67 if (!candidate) { |
| 68 RTCLog(@"Failed to create ICE candidate: %s\nline: %s", | 68 RTCLog(@"Failed to create ICE candidate: %s\nline: %s", |
| 69 error.description.c_str(), | 69 error.description.c_str(), |
| 70 error.line.c_str()); | 70 error.line.c_str()); |
| 71 } | 71 } |
| 72 | 72 |
| 73 return std::unique_ptr<webrtc::IceCandidateInterface>(candidate); | 73 return std::unique_ptr<webrtc::IceCandidateInterface>(candidate); |
| 74 } | 74 } |
| 75 | 75 |
| 76 @end | 76 @end |
| OLD | NEW |