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

Side by Side Diff: webrtc/sdk/objc/Framework/Classes/RTCPeerConnection+Private.h

Issue 2049153002: Use the new versions of OnAddStream/OnRemoveStream in objc binding. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « webrtc/sdk/objc/Framework/Classes/RTCPeerConnection.mm ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
(...skipping 11 matching lines...) Expand all
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
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
OLDNEW
« no previous file with comments | « webrtc/sdk/objc/Framework/Classes/RTCPeerConnection.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698