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 11 matching lines...) Expand all Loading... |
22 */ | 22 */ |
23 class PeerConnectionDelegateAdapter : public PeerConnectionObserver { | 23 class PeerConnectionDelegateAdapter : public PeerConnectionObserver { |
24 | 24 |
25 public: | 25 public: |
26 PeerConnectionDelegateAdapter(RTCPeerConnection *peerConnection); | 26 PeerConnectionDelegateAdapter(RTCPeerConnection *peerConnection); |
27 virtual ~PeerConnectionDelegateAdapter(); | 27 virtual ~PeerConnectionDelegateAdapter(); |
28 | 28 |
29 void OnSignalingChange( | 29 void OnSignalingChange( |
30 PeerConnectionInterface::SignalingState new_state) override; | 30 PeerConnectionInterface::SignalingState new_state) override; |
31 | 31 |
32 void OnAddStream(MediaStreamInterface *stream) override; | 32 void OnAddStream(rtc::scoped_refptr<MediaStreamInterface> stream) override; |
33 | 33 |
34 void OnRemoveStream(MediaStreamInterface *stream) override; | 34 void OnRemoveStream(rtc::scoped_refptr<MediaStreamInterface> stream) override; |
35 | 35 |
36 void OnDataChannel(DataChannelInterface *data_channel) override; | 36 void OnDataChannel( |
| 37 rtc::scoped_refptr<DataChannelInterface> data_channel) override; |
37 | 38 |
38 void OnRenegotiationNeeded() override; | 39 void OnRenegotiationNeeded() override; |
39 | 40 |
40 void OnIceConnectionChange( | 41 void OnIceConnectionChange( |
41 PeerConnectionInterface::IceConnectionState new_state) override; | 42 PeerConnectionInterface::IceConnectionState new_state) override; |
42 | 43 |
43 void OnIceGatheringChange( | 44 void OnIceGatheringChange( |
44 PeerConnectionInterface::IceGatheringState new_state) override; | 45 PeerConnectionInterface::IceGatheringState new_state) override; |
45 | 46 |
46 void OnIceCandidate(const IceCandidateInterface *candidate) override; | 47 void OnIceCandidate(const IceCandidateInterface *candidate) override; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 (webrtc::PeerConnectionInterface::IceGatheringState)nativeState; | 98 (webrtc::PeerConnectionInterface::IceGatheringState)nativeState; |
98 | 99 |
99 + (NSString *)stringForIceGatheringState:(RTCIceGatheringState)state; | 100 + (NSString *)stringForIceGatheringState:(RTCIceGatheringState)state; |
100 | 101 |
101 + (webrtc::PeerConnectionInterface::StatsOutputLevel) | 102 + (webrtc::PeerConnectionInterface::StatsOutputLevel) |
102 nativeStatsOutputLevelForLevel:(RTCStatsOutputLevel)level; | 103 nativeStatsOutputLevelForLevel:(RTCStatsOutputLevel)level; |
103 | 104 |
104 @end | 105 @end |
105 | 106 |
106 NS_ASSUME_NONNULL_END | 107 NS_ASSUME_NONNULL_END |
OLD | NEW |