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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 PeerConnectionInterface::IceConnectionState new_state) override; | 42 PeerConnectionInterface::IceConnectionState new_state) override; |
43 | 43 |
44 void OnIceGatheringChange( | 44 void OnIceGatheringChange( |
45 PeerConnectionInterface::IceGatheringState new_state) override; | 45 PeerConnectionInterface::IceGatheringState new_state) override; |
46 | 46 |
47 void OnIceCandidate(const IceCandidateInterface *candidate) override; | 47 void OnIceCandidate(const IceCandidateInterface *candidate) override; |
48 | 48 |
49 void OnIceCandidatesRemoved( | 49 void OnIceCandidatesRemoved( |
50 const std::vector<cricket::Candidate>& candidates) override; | 50 const std::vector<cricket::Candidate>& candidates) override; |
51 | 51 |
| 52 void OnAddTrack( |
| 53 rtc::scoped_refptr<RtpReceiverInterface> receiver, |
| 54 const std::vector<rtc::scoped_refptr<MediaStreamInterface>>& streams) over
ride; |
| 55 |
52 private: | 56 private: |
53 __weak RTCPeerConnection *peer_connection_; | 57 __weak RTCPeerConnection* peer_connection_; |
54 }; | 58 }; |
55 | 59 |
56 } // namespace webrtc | 60 } // namespace webrtc |
57 | 61 |
58 | 62 |
59 @interface RTCPeerConnection () | 63 @interface RTCPeerConnection () |
60 | 64 |
61 /** The native PeerConnectionInterface created during construction. */ | 65 /** The native PeerConnectionInterface created during construction. */ |
62 @property(nonatomic, readonly) | 66 @property(nonatomic, readonly) |
63 rtc::scoped_refptr<webrtc::PeerConnectionInterface> nativePeerConnection; | 67 rtc::scoped_refptr<webrtc::PeerConnectionInterface> nativePeerConnection; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 (webrtc::PeerConnectionInterface::IceGatheringState)nativeState; | 102 (webrtc::PeerConnectionInterface::IceGatheringState)nativeState; |
99 | 103 |
100 + (NSString *)stringForIceGatheringState:(RTCIceGatheringState)state; | 104 + (NSString *)stringForIceGatheringState:(RTCIceGatheringState)state; |
101 | 105 |
102 + (webrtc::PeerConnectionInterface::StatsOutputLevel) | 106 + (webrtc::PeerConnectionInterface::StatsOutputLevel) |
103 nativeStatsOutputLevelForLevel:(RTCStatsOutputLevel)level; | 107 nativeStatsOutputLevelForLevel:(RTCStatsOutputLevel)level; |
104 | 108 |
105 @end | 109 @end |
106 | 110 |
107 NS_ASSUME_NONNULL_END | 111 NS_ASSUME_NONNULL_END |
OLD | NEW |