logo
On this page

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

roomID
nonatomic, copy NSString * roomID

Specifies the room ID of the output stream. You need to ensure that the room is already present when mixing starts.

userID

userID
nonatomic, copy NSString * userID

Specifies 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

new
+ (instancetype)new NS_UNAVAILABLE;
This function is unavaialble.
Declared in ZegoExpressDefines.h

Please use [initWithRoomID:userID:] instead

init

init
- (instancetype)init NS_UNAVAILABLE;
This function is unavaialble.
Declared in ZegoExpressDefines.h

Please use [initWithRoomID:userID:] instead

initWithRoomID:userID

initWithRoomID:userID
- (instancetype)initWithRoomID:(NSString *)roomID userID:(NSString *)userID;
Construct the room information of an output stream in a mixed stream by using roomID and userID.
Declared in ZegoExpressDefines.h

ZegoMixerOutputRoomInfo instance.

Previous

zegomixeroutput

Next

zegomixeroutputvideoconfig

On this page

Back to top