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

Unified Diff: webrtc/api/objc/RTCVideoTrack+Private.h

Issue 1553743003: Update API for Objective-C RTCAudioTrack and RTCVideoTrack. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@updateRTCMediaStreamTrack
Patch Set: Get around unused variable error Created 4 years, 11 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
« no previous file with comments | « webrtc/api/objc/RTCVideoTrack.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/objc/RTCVideoTrack+Private.h
diff --git a/webrtc/base/objc/NSString+StdString.h b/webrtc/api/objc/RTCVideoTrack+Private.h
similarity index 63%
copy from webrtc/base/objc/NSString+StdString.h
copy to webrtc/api/objc/RTCVideoTrack+Private.h
index 8bf6cc94be0346e398ab1a980af6378f06ccb7a5..4f55481b554630f71397e1c650fe73d2909fa467 100644
--- a/webrtc/base/objc/NSString+StdString.h
+++ b/webrtc/api/objc/RTCVideoTrack+Private.h
@@ -8,18 +8,17 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#import <Foundation/Foundation.h>
+#import "RTCVideoTrack.h"
-#include <string>
+#include "talk/app/webrtc/mediastreaminterface.h"
NS_ASSUME_NONNULL_BEGIN
-@interface NSString (StdString)
+@interface RTCVideoTrack ()
-@property(nonatomic, readonly) std::string stdString;
-
-+ (std::string)stdStringForString:(NSString *)nsString;
-+ (NSString *)stringForStdString:(const std::string&)stdString;
+/** VideoTrackInterface created or passed in at construction. */
+@property(nonatomic, readonly)
+ rtc::scoped_refptr<webrtc::VideoTrackInterface> nativeVideoTrack;
@end
« no previous file with comments | « webrtc/api/objc/RTCVideoTrack.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698