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 ZegoExpressDefines.h
Properties
roomID
nonatomic, copy NSString * roomIDSpecifies the room ID of the output stream. You need to ensure that the room is already present when mixing starts.
userID
nonatomic, copy NSString * 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
new
+ (instancetype)new NS_UNAVAILABLE;ZegoExpressDefines.hPlease use [initWithRoomID:userID:] instead
init
- (instancetype)init NS_UNAVAILABLE;ZegoExpressDefines.hPlease use [initWithRoomID:userID:] instead
initWithRoomID:userID
- (instancetype)initWithRoomID:(NSString *)roomID userID:(NSString *)userID;ZegoExpressDefines.hZegoMixerOutputRoomInfo instance.
