ZegoPublisherConfig class
Advanced publisher configuration.
Configure room id
Constructors
- ZegoPublisherConfig({String? roomID, int? forceSynchronousNetworkTime, ZegoStreamCensorshipMode? streamCensorshipMode, int? streamCensorFlag, ZegoCapabilityNegotiationType? codecNegotiationType})
Properties
- codecNegotiationType ↔ ZegoCapabilityNegotiationType?
-
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.
getter/setter pair
- forceSynchronousNetworkTime ↔ int?
-
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.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- roomID ↔ String?
-
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
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- streamCensorFlag ↔ int?
-
Inspect flag. If you want to use this function, contact ZEGO technical support.
getter/setter pair
- streamCensorshipMode ↔ ZegoStreamCensorshipMode?
-
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.
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