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

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

Issue 2290583003: iOS: Add ability to specify audio constraints. (Closed)
Patch Set: Update framework header 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..df091a27505edcf47b8787c9c03ab3cb308bf180 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
@@ -24,19 +26,15 @@ NS_ASSUME_NONNULL_BEGIN
rtc::scoped_refptr<webrtc::VideoTrackSourceInterface>
nativeVideoSource;
+- (instancetype)initWithNativeMediaSource:
+ (rtc::scoped_refptr<webrtc::MediaSourceInterface>)nativeMediaSource
+ type:(RTCMediaSourceType)type NS_UNAVAILABLE;
+
/** Initialize an RTCVideoSource from a native VideoTrackSourceInterface. */
- (instancetype)initWithNativeVideoSource:
(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;
-
@end
NS_ASSUME_NONNULL_END

Powered by Google App Engine
This is Rietveld 408576698