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

Unified Diff: webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoSource.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/Headers/WebRTC/RTCVideoSource.h
diff --git a/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoSource.h b/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoSource.h
index e234c3e0896f6d086bcf47312234034ffdd45ba7..96bb6f369973c55ea7345d8528b368fc6cebb4e1 100644
--- a/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoSource.h
+++ b/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoSource.h
@@ -11,21 +11,12 @@
#import <Foundation/Foundation.h>
#import <WebRTC/RTCMacros.h>
-
-typedef NS_ENUM(NSInteger, RTCSourceState) {
- RTCSourceStateInitializing,
- RTCSourceStateLive,
- RTCSourceStateEnded,
- RTCSourceStateMuted,
-};
+#import <WebRTC/RTCMediaSource.h>
NS_ASSUME_NONNULL_BEGIN
RTC_EXPORT
-@interface RTCVideoSource : NSObject
-
-/** The current state of the RTCVideoSource. */
-@property(nonatomic, readonly) RTCSourceState state;
+@interface RTCVideoSource : RTCMediaSource
- (instancetype)init NS_UNAVAILABLE;
« no previous file with comments | « webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnectionFactory.h ('k') | webrtc/sdk/objc/Framework/Headers/WebRTC/WebRTC.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698