Package im.zego.zegoexpress.entity
Class ZegoPublisherConfig
- java.lang.Object
-
- im.zego.zegoexpress.entity.ZegoPublisherConfig
-
public class ZegoPublisherConfig extends java.lang.Object
Advanced publisher configuration. Configure room id
-
-
Field Summary
Fields Modifier and Type Field Description ZegoCapabilityNegotiationType
codecNegotiationType
Codec capability negotiation type.int
forceSynchronousNetworkTime
Whether to synchronize the network time when pushing streams.java.lang.String
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 modeint
streamCensorFlag
Inspect flag.ZegoStreamCensorshipMode
streamCensorshipMode
When pushing a flow, review the pattern of the flow.
-
Constructor Summary
Constructors Constructor Description ZegoPublisherConfig()
-
-
-
Field Detail
-
roomID
public java.lang.String 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
public 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
public 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
public int streamCensorFlag
Inspect flag. If you want to use this function, contact ZEGO technical support.
-
codecNegotiationType
public 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.
-
-