Index: webrtc/api/objc/RTCRtpSender.h |
diff --git a/webrtc/api/objc/RTCVideoSource.h b/webrtc/api/objc/RTCRtpSender.h |
similarity index 56% |
copy from webrtc/api/objc/RTCVideoSource.h |
copy to webrtc/api/objc/RTCRtpSender.h |
index a98fa6c6bba626c52ea4331bb1b3d4d6bd0bd1a9..b392ab382d98e57fd70ec66968ed67e256d81b36 100644 |
--- a/webrtc/api/objc/RTCVideoSource.h |
+++ b/webrtc/api/objc/RTCRtpSender.h |
@@ -1,5 +1,5 @@ |
/* |
- * Copyright 2015 The WebRTC project authors. All Rights Reserved. |
+ * Copyright 2016 The WebRTC project authors. All Rights Reserved. |
* |
* Use of this source code is governed by a BSD-style license |
* that can be found in the LICENSE file in the root of the source |
@@ -9,23 +9,20 @@ |
*/ |
#import <Foundation/Foundation.h> |
- |
-typedef NS_ENUM(NSInteger, RTCSourceState) { |
- RTCSourceStateInitializing, |
- RTCSourceStateLive, |
- RTCSourceStateEnded, |
- RTCSourceStateMuted, |
-}; |
+#import "webrtc/api/objc/RTCRtpParameters.h" |
tkchin_webrtc
2016/04/05 18:48:16
ditto blank line
|
+#import "webrtc/api/objc/RTCMediaStreamTrack.h" |
NS_ASSUME_NONNULL_BEGIN |
-@interface RTCVideoSource : NSObject |
+@interface RTCRtpSender : NSObject |
tkchin_webrtc
2016/04/05 18:48:16
consider making this a protocol so that one day wh
skvlad
2016/04/05 23:21:28
Done.
|
-/** The current state of the RTCVideoSource. */ |
-@property(nonatomic, readonly) RTCSourceState state; |
+@property(nonatomic, readonly) RTCRtpParameters* parameters; |
tkchin_webrtc
2016/04/05 18:48:16
* in file
|
+@property(nonatomic, readonly) RTCMediaStreamTrack* track; |
- (instancetype)init NS_UNAVAILABLE; |
+- (BOOL)setParameters:(RTCRtpParameters*)parameters; |
tkchin_webrtc
2016/04/05 18:48:16
is this valuable? If it fails we won't know why. I
skvlad
2016/04/05 23:21:28
It's only valuable in letting you know if the chan
|
+ |
@end |
NS_ASSUME_NONNULL_END |