ZegoMixerOutputRoomInfo
ZegoMixerOutputRoomInfo
Room information for the output stream in a mixed stream.
Details
Setting room information for a single output stream; the mixed output stream can be added to the specified room, allowing users in the room to receive notifications of increased stream in the room.
- Use cases: Manual mixed stream scenario, such as Co-hosting.
- Available since: 3.18.0
- Restrictions: Dynamic updates during mixed stream are not supported.
Declared in entity/ZegoMixerOutputRoomInfo.java
Properties
roomID
roomID
public String roomIDSpecifies the room ID of the output stream. You need to ensure that the room is already present when mixing starts.
userID
userID
public String userIDSpecifies the user ID of the output stream. It is not recommended to use the same userID as the actual user in the room to avoid conflicts with the SDK's stream addition behavior.
Methods
ZegoMixerOutputRoomInfo
ZegoMixerOutputRoomInfo
public ZegoMixerOutputRoomInfo(String roomID, String userID)Construct the room information of an output stream in a mixed stream by using roomID and userID.
Declared in
entity/ZegoMixerOutputRoomInfo.java