ZegoPublisherConfig class

推流进阶配置

配置房间 ID

Constructors

ZegoPublisherConfig({String? roomID, int? forceSynchronousNetworkTime, ZegoStreamCensorshipMode? streamCensorshipMode, int? streamCensorFlag, ZegoCapabilityNegotiationType? codecNegotiationType})

Properties

codecNegotiationType ZegoCapabilityNegotiationType?
编解码能力协商模式。默认不参考能力协商结果。如需要使用此功能,需要联系ZEGO技术支持。
getter/setter pair
forceSynchronousNetworkTime ↔ int?
推流时是否同步网络时间,1-同步 0-不同步。且必须与 setStreamAlignmentProperty配合使用。用于在混流服务或拉流端对多条流进行对齐,比如 KTV 的合唱场景。
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
roomID ↔ String?
房间 ID, 单房间模式可不传,多房间模式时必须传对应房间的 ID
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
streamCensorFlag ↔ int?
审查标记,使用此功能需要联系 ZEGO 技术支持
getter/setter pair
streamCensorshipMode ZegoStreamCensorshipMode?
推流时,审查流的模式。默认不审查。如需要使用此功能,需要联系ZEGO技术支持。
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited