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

Unified Diff: webrtc/sdk/objc/Framework/Classes/RTCRtpReceiver+Private.h

Issue 1917193008: Adding getParameters/setParameters APIs to RtpReceiver. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: objc compile errors Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/sdk/objc/Framework/Classes/RTCRtpReceiver+Private.h
diff --git a/webrtc/sdk/objc/Framework/Classes/RTCRtpSender+Private.h b/webrtc/sdk/objc/Framework/Classes/RTCRtpReceiver+Private.h
similarity index 55%
copy from webrtc/sdk/objc/Framework/Classes/RTCRtpSender+Private.h
copy to webrtc/sdk/objc/Framework/Classes/RTCRtpReceiver+Private.h
index e871673e9c3b74b53221ac4769bde6322fb085ca..14b68fa011384251d0afa6e79629fd3aa62db538 100644
--- a/webrtc/sdk/objc/Framework/Classes/RTCRtpSender+Private.h
+++ b/webrtc/sdk/objc/Framework/Classes/RTCRtpReceiver+Private.h
@@ -8,17 +8,20 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#import "WebRTC/RTCRtpSender.h"
+#import "WebRTC/RTCRtpReceiver.h"
-#include "webrtc/api/rtpsenderinterface.h"
+#include "webrtc/api/rtpreceiverinterface.h"
NS_ASSUME_NONNULL_BEGIN
-@interface RTCRtpSender ()
+@interface RTCRtpReceiver ()
-/** Initialize an RTCRtpSender with a native RtpSenderInterface. */
-- (instancetype)initWithNativeRtpSender:
- (rtc::scoped_refptr<webrtc::RtpSenderInterface>)nativeRtpSender
+@property(nonatomic, readonly)
+ rtc::scoped_refptr<webrtc::RtpReceiverInterface> nativeRtpReceiver;
+
+/** Initialize an RTCRtpReceiver with a native RtpReceiverInterface. */
+- (instancetype)initWithNativeRtpReceiver:
+ (rtc::scoped_refptr<webrtc::RtpReceiverInterface>)nativeRtpReceiver
NS_DESIGNATED_INITIALIZER;
@end
« no previous file with comments | « webrtc/sdk/objc/Framework/Classes/RTCRtpReceiver.mm ('k') | webrtc/sdk/objc/Framework/Classes/RTCRtpSender.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698