logo
On this page

ZegoPublisherConfig

ZegoPublisherConfig

Advanced publisher configuration.

Details

Configure room id

Declared in ZegoExpressDefines.h

Properties

roomID

roomID
nonatomic, copy NSString * roomID

The Room ID, It is not necessary to pass in single room mode, but the ID of the corresponding room must be passed in multi-room mode

forceSynchronousNetworkTime

forceSynchronousNetworkTime
nonatomic, assign int forceSynchronousNetworkTime

Whether to synchronize the network time when pushing streams. 1 is synchronized with 0 is not synchronized. And must be used with setStreamAlignmentProperty. It is used to align multiple streams at the mixed stream service or streaming end, such as the chorus scene of KTV.

streamCensorshipMode

streamCensorshipMode
nonatomic, assign ZegoStreamCensorshipMode streamCensorshipMode

When pushing a flow, review the pattern of the flow. By default, no audit is performed. If you want to use this function, contact ZEGO technical support.

streamCensorFlag

streamCensorFlag
nonatomic, assign int streamCensorFlag

Inspect flag. If you want to use this function, contact ZEGO technical support.

codecNegotiationType

codecNegotiationType
nonatomic, assign ZegoCapabilityNegotiationType codecNegotiationType

Codec capability negotiation type. By default, no reference to the outcome of the capability negotiation. If you want to use this function, contact ZEGO technical support.

streamTitle

streamTitle
nonatomic, copy NSString * streamTitle

Stream title, a utf8 string with a maximum length of 255 bytes or less.

Previous

zegopublishdualstreamconfig

Next

zegopublishertakesnapshotconfig

On this page

Back to top