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

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

Issue 2944643002: Support building WebRTC without audio and video for IOS (Closed)
Patch Set: Reponse to comments. Created 3 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
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 private: 52 private:
53 __weak RTCPeerConnection *peer_connection_; 53 __weak RTCPeerConnection *peer_connection_;
54 }; 54 };
55 55
56 } // namespace webrtc 56 } // namespace webrtc
57 57
58
59 @interface RTCPeerConnection () 58 @interface RTCPeerConnection ()
60 59
61 /** The native PeerConnectionInterface created during construction. */ 60 /** The native PeerConnectionInterface created during construction. */
62 @property(nonatomic, readonly) 61 @property(nonatomic, readonly)
63 rtc::scoped_refptr<webrtc::PeerConnectionInterface> nativePeerConnection; 62 rtc::scoped_refptr<webrtc::PeerConnectionInterface> nativePeerConnection;
64 63
65 /** Initialize an RTCPeerConnection with a configuration, constraints, and 64 /** Initialize an RTCPeerConnection with a configuration, constraints, and
66 * delegate. 65 * delegate.
67 */ 66 */
68 - (instancetype)initWithFactory: 67 - (instancetype)initWithFactory:
(...skipping 29 matching lines...) Expand all
98 (webrtc::PeerConnectionInterface::IceGatheringState)nativeState; 97 (webrtc::PeerConnectionInterface::IceGatheringState)nativeState;
99 98
100 + (NSString *)stringForIceGatheringState:(RTCIceGatheringState)state; 99 + (NSString *)stringForIceGatheringState:(RTCIceGatheringState)state;
101 100
102 + (webrtc::PeerConnectionInterface::StatsOutputLevel) 101 + (webrtc::PeerConnectionInterface::StatsOutputLevel)
103 nativeStatsOutputLevelForLevel:(RTCStatsOutputLevel)level; 102 nativeStatsOutputLevelForLevel:(RTCStatsOutputLevel)level;
104 103
105 @end 104 @end
106 105
107 NS_ASSUME_NONNULL_END 106 NS_ASSUME_NONNULL_END
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698