ZegoPublisherConfig class

推流进阶配置

配置房间 ID

Constructors

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

Properties

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

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