NIMScreenShareBroadcasterOptions Class Reference

Inherits from NSObject
Declared in NIMScreenShareBroadcasterOptions.h

Overview

屏幕共享配置

  appGroup

Apple appGroup

@property (nonatomic, copy) NSString *appGroup

Discussion

Apple appGroup

Declared In

NIMScreenShareBroadcasterOptions.h

  targetFrameSize

目标视频帧分辨率。

@property (nonatomic, assign) CGSize targetFrameSize

Discussion

目标视频帧分辨率。

如果宽和高只设定了一个,则另一个按照比例自动缩放。如果宽高都不设定,则按照原始尺寸。

Declared In

NIMScreenShareBroadcasterOptions.h

  frameRate

fps。 5-10

@property (nonatomic, assign) NSUInteger frameRate

Discussion

fps。 5-10

Declared In

NIMScreenShareBroadcasterOptions.h

  serverPort

端口号(确保宿主和扩展进程依赖库中使用相同的端口号)

@property (nonatomic, assign) int serverPort

Discussion

端口号(确保宿主和扩展进程依赖库中使用相同的端口号)

Declared In

NIMScreenShareBroadcasterOptions.h