RCRTCMixConfig Class Reference

Inherits from NSObject
Declared in RCRTCMixConfig.h

  version

合流服务版本,不支持修改。

@property (nonatomic, assign, readonly) NSInteger version

Discussion

合流服务版本,不支持修改。

Declared In

RCRTCMixConfig.h

  layoutMode

合流布局模式

@property (nonatomic, assign) RCRTCMixLayoutMode layoutMode

Discussion

合流布局模式

1:自定义布局 2:悬浮布局 3:自适应布局 模式 2 和 3 时不需要设置 用户的 customLayoutList

Declared In

RCRTCMixConfig.h

  hostVideoStream

mode 为 2 或者 3 时可用,作用将此 stream 置顶,必须为视频流

@property (nonatomic, strong) RCRTCStream *hostVideoStream

Discussion

mode 为 2 或者 3 时可用,作用将此 stream 置顶,必须为视频流

Declared In

RCRTCMixConfig.h

  customLayouts

自定义流列表,SDK 根据输入流列表中的流进行混流,仅自定义布局的时候使用,效果为设置其他人的窗口排版

@property (nonatomic, strong) NSMutableArray<RCRTCCustomLayout*> *customLayouts

Discussion

自定义流列表,SDK 根据输入流列表中的流进行混流,仅自定义布局的时候使用,效果为设置其他人的窗口排版

Declared In

RCRTCMixConfig.h

  mediaConfig

合流音视频配置,包括音频和视频

@property (nonatomic, strong) RCRTCMediaConfig *mediaConfig

Discussion

合流音视频配置,包括音频和视频

Declared In

RCRTCMixConfig.h