iOS: Add ability to specify audio constraints.

NOTRY=True
BUG=

Review-Url: https://codereview.webrtc.org/2290583003
Cr-Commit-Position: refs/heads/master@{#13976}
This commit is contained in:
tkchin
2016-08-30 11:56:05 -07:00
committed by Commit bot
parent f8f754a1a6
commit d4bfbfc75a
17 changed files with 369 additions and 84 deletions

View File

@ -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;