Chromium Code Reviews

Unified Diff: webrtc/api/objc/RTCPeerConnection.h

Issue 1854393002: Objective C API to read and set RtpParameters (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Added a missing blank line Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: webrtc/api/objc/RTCPeerConnection.h
diff --git a/webrtc/api/objc/RTCPeerConnection.h b/webrtc/api/objc/RTCPeerConnection.h
index e0f9b78e8ebb0ac1b41234e8501595ffe1f201cd..45e2d7e843dd98d8f05e8d7714c3229a869ec0c7 100644
--- a/webrtc/api/objc/RTCPeerConnection.h
+++ b/webrtc/api/objc/RTCPeerConnection.h
@@ -18,6 +18,7 @@
@class RTCMediaStream;
@class RTCMediaStreamTrack;
@class RTCPeerConnectionFactory;
+@class RTCRtpSender;
@class RTCSessionDescription;
@class RTCStatsReport;
@@ -115,6 +116,9 @@ typedef NS_ENUM(NSInteger, RTCStatsOutputLevel) {
@property(nonatomic, readonly) RTCIceConnectionState iceConnectionState;
@property(nonatomic, readonly) RTCIceGatheringState iceGatheringState;
+/** Gets all RTCRtpSenders associated with this peer connection */
+@property(nonatomic, readonly) NSArray<RTCRtpSender *> *senders;
+
- (instancetype)init NS_UNAVAILABLE;
/** Sets the PeerConnection's global configuration to |configuration|.

Powered by Google App Engine