| 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 27 matching lines...) Expand all Loading... |
| 38 void OnRenegotiationNeeded() override; | 38 void OnRenegotiationNeeded() override; |
| 39 | 39 |
| 40 void OnIceConnectionChange( | 40 void OnIceConnectionChange( |
| 41 PeerConnectionInterface::IceConnectionState new_state) override; | 41 PeerConnectionInterface::IceConnectionState new_state) override; |
| 42 | 42 |
| 43 void OnIceGatheringChange( | 43 void OnIceGatheringChange( |
| 44 PeerConnectionInterface::IceGatheringState new_state) override; | 44 PeerConnectionInterface::IceGatheringState new_state) override; |
| 45 | 45 |
| 46 void OnIceCandidate(const IceCandidateInterface *candidate) override; | 46 void OnIceCandidate(const IceCandidateInterface *candidate) override; |
| 47 | 47 |
| 48 void OnIceCandidatesRemoved( |
| 49 const std::vector<cricket::Candidate>& candidates) override; |
| 50 |
| 48 private: | 51 private: |
| 49 __weak RTCPeerConnection *peer_connection_; | 52 __weak RTCPeerConnection *peer_connection_; |
| 50 }; | 53 }; |
| 51 | 54 |
| 52 } // namespace webrtc | 55 } // namespace webrtc |
| 53 | 56 |
| 54 | 57 |
| 55 @interface RTCPeerConnection () | 58 @interface RTCPeerConnection () |
| 56 | 59 |
| 57 /** The native PeerConnectionInterface created during construction. */ | 60 /** The native PeerConnectionInterface created during construction. */ |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 (webrtc::PeerConnectionInterface::IceGatheringState)nativeState; | 97 (webrtc::PeerConnectionInterface::IceGatheringState)nativeState; |
| 95 | 98 |
| 96 + (NSString *)stringForIceGatheringState:(RTCIceGatheringState)state; | 99 + (NSString *)stringForIceGatheringState:(RTCIceGatheringState)state; |
| 97 | 100 |
| 98 + (webrtc::PeerConnectionInterface::StatsOutputLevel) | 101 + (webrtc::PeerConnectionInterface::StatsOutputLevel) |
| 99 nativeStatsOutputLevelForLevel:(RTCStatsOutputLevel)level; | 102 nativeStatsOutputLevelForLevel:(RTCStatsOutputLevel)level; |
| 100 | 103 |
| 101 @end | 104 @end |
| 102 | 105 |
| 103 NS_ASSUME_NONNULL_END | 106 NS_ASSUME_NONNULL_END |
| OLD | NEW |