Chromium Code Reviews| Index: webrtc/api/objc/RTCMediaStream+Private.h |
| diff --git a/webrtc/api/objc/RTCAudioTrack+Private.h b/webrtc/api/objc/RTCMediaStream+Private.h |
| similarity index 55% |
| copy from webrtc/api/objc/RTCAudioTrack+Private.h |
| copy to webrtc/api/objc/RTCMediaStream+Private.h |
| index 36f72c7f2560d775d4e120303173ade21487b259..bd8dfcfef49f1b2445c3d34236149ba1c0069361 100644 |
| --- a/webrtc/api/objc/RTCAudioTrack+Private.h |
| +++ b/webrtc/api/objc/RTCMediaStream+Private.h |
| @@ -8,17 +8,24 @@ |
| * be found in the AUTHORS file in the root of the source tree. |
| */ |
| -#import "RTCAudioTrack.h" |
| +#import "RTCMediaStream.h" |
| #include "talk/app/webrtc/mediastreaminterface.h" |
| NS_ASSUME_NONNULL_BEGIN |
| -@interface RTCAudioTrack () |
| +@interface RTCMediaStream () |
| -/** AudioTrackInterface created or passed in at construction. */ |
| +/** |
| + * MediaStreamInterface representation of this RTCMediaStream object. This is |
| + * needed to pass to the underlying C++ APIs. |
| + */ |
| @property(nonatomic, readonly) |
| - rtc::scoped_refptr<webrtc::AudioTrackInterface> nativeAudioTrack; |
| + rtc::scoped_refptr<webrtc::MediaStreamInterface> nativeMediaStream; |
| + |
| +/** Initialize an RTCMediaStream from a native MediaStreamInterface. */ |
| +- (instancetype)initWithNativeStream: |
|
tkchin_webrtc
2016/01/21 23:51:53
nativeMediaStream
hjon
2016/01/21 23:56:22
Done.
|
| + (rtc::scoped_refptr<webrtc::MediaStreamInterface>)nativeMediaStream; |
| @end |