AgoraScreenCaptureParameters2
- iOS
更新时间
屏幕共享配置。
__attribute__((visibility("default"))) @interface AgoraScreenCaptureParameters2 : NSObject
@property(assign, nonatomic) BOOL captureAudio;
@property(strong, nonatomic) AgoraScreenAudioParameters* _Nonnull audioParams;
@property(assign, nonatomic) BOOL captureVideo;
@property(strong, nonatomic) AgoraScreenVideoParameters* _Nonnull videoParams;
@end属性
| 参数名 | 描述 |
|---|---|
captureAudio | 注: 为提高屏幕共享时采集系统音频的成功率,请确保已调用 是否在屏幕共享时采集系统音频:
|
audioParams | 共享屏幕流的音频配置。详见 AgoraScreenAudioParameters。 注: 该参数仅在 |
captureVideo | 是否在屏幕共享时采集屏幕画面:
|
videoParams | 共享屏幕流的视频配置。详见 AgoraScreenVideoParameters。 注: 该参数仅在 |