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 |