ZegoAPIPublishStreamParams Class Reference

Inherits from NSObject
Declared in ZegoLiveRoomApiDefines.h

Overview

推流参数

  streamID

流 ID

@property (nonatomic, copy) NSString *streamID

Declared In

ZegoLiveRoomApiDefines.h

  streamTitle

流标题

@property (nonatomic, copy) NSString *streamTitle

Declared In

ZegoLiveRoomApiDefines.h

  extraInfo

附加流信息, 最大为 1024 字节

@property (nonatomic, copy) NSString *extraInfo

Declared In

ZegoLiveRoomApiDefines.h

  publishParams

推流附加参数

@property (nonatomic, copy) NSString *publishParams

Declared In

ZegoLiveRoomApiDefines.h

  roomID

关联的房间 ID. 开启 enableMultiRoom 之后有效, 当用户退出该房间时,会停止拉这条流

@property (nonatomic, copy) NSString *roomID

Declared In

ZegoLiveRoomApiDefines.h

  publishFlag

直播属性,参考 ZegoApiPublishFlag 定义

@property (nonatomic, assign) int publishFlag

Declared In

ZegoLiveRoomApiDefines.h

  channelIndex

推流通道号

@property (nonatomic, assign) ZegoAPIPublishChannelIndex channelIndex

Declared In

ZegoLiveRoomApiDefines.h

  forceSynchronousNetworkTime

推流是否同步网络时间,仅RTC流有效,与setStreamAlignmentProperty 接口配合使用, 用于混流时各路流的对齐, 常用于KTV场景。

@property (nonatomic, assign) int forceSynchronousNetworkTime

Declared In

ZegoLiveRoomApiDefines.h

  censorshipMode

推rtc流时指定该流的审查模式,常用于音视频鉴黄场景,需要使用此功能联系zego 技术支持

@property (nonatomic, assign) ZegoAPIStreamCensorshipMode censorshipMode

Declared In

ZegoLiveRoomApiDefines.h

  censorFlag

审查标记,与即构的审查SDK配合使用,使用此功能需要联系ZEGO技术支持

@property (nonatomic, assign) int censorFlag

Declared In

ZegoLiveRoomApiDefines.h