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

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

Issue 2290583003: iOS: Add ability to specify audio constraints. (Closed)
Patch Set: Update ctor order. Created 4 years, 4 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/RTCVideoSource+Private.h
diff --git a/webrtc/sdk/objc/Framework/Classes/RTCVideoSource+Private.h b/webrtc/sdk/objc/Framework/Classes/RTCVideoSource+Private.h
index 757c1746ef76e2667aed38e19d0420e38571803c..f6e202cd9b8499dd98ff47e1c08c7779c6128cc7 100644
--- a/webrtc/sdk/objc/Framework/Classes/RTCVideoSource+Private.h
+++ b/webrtc/sdk/objc/Framework/Classes/RTCVideoSource+Private.h
@@ -10,6 +10,8 @@
#import "WebRTC/RTCVideoSource.h"
+#import "RTCMediaSource+Private.h"
+
#include "webrtc/api/mediastreaminterface.h"
NS_ASSUME_NONNULL_BEGIN
@@ -29,13 +31,9 @@ NS_ASSUME_NONNULL_BEGIN
(rtc::scoped_refptr<webrtc::VideoTrackSourceInterface>)nativeVideoSource
NS_DESIGNATED_INITIALIZER;
-+ (webrtc::MediaSourceInterface::SourceState)nativeSourceStateForState:
- (RTCSourceState)state;
-
-+ (RTCSourceState)sourceStateForNativeState:
- (webrtc::MediaSourceInterface::SourceState)nativeState;
-
-+ (NSString *)stringForState:(RTCSourceState)state;
+- (instancetype)initWithNativeMediaSource:
+ (rtc::scoped_refptr<webrtc::MediaSourceInterface>)nativeMediaSource
+ type:(RTCMediaSourceType)type NS_UNAVAILABLE;
@end
« no previous file with comments | « webrtc/sdk/objc/Framework/Classes/RTCVideoSource.mm ('k') | webrtc/sdk/objc/Framework/Headers/WebRTC/RTCAudioSource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698