Struct TRTCMixUser
5.10 Position of each image in On-Cloud MixTranscoding
You can use `TRTCMixUser` to specify the position of the video image of each stream (`userId`).
Inherited Members
Namespace: trtc
Assembly: cs.temp.dll.dll
Syntax
public struct TRTCMixUser
Fields
inputType
Description: type of the user’s input stream. This is an upgrade of the pureAudio parameter.
Value:
- Default value:
TRTCMixInputTypeUndefined - You can use this parameter if you haven’t specified
pureAudio. - If you have set
pureAudiotoYES, set this parameter toTRTCMixInputTypeUndefined.
Declaration
public TRTCMixInputType inputType
Field Value
| Type | Description |
|---|---|
| TRTCMixInputType |
pureAudio
Description: whether the user has enabled audio only
Value: default value: NO
Note: This parameter has been disused. Please use inputType instead.
Declaration
public bool pureAudio
Field Value
| Type | Description |
|---|---|
| System.Boolean |
rect
Description: Coordinates and size of the image. The coordinates (absolute pixel value) of the image’s top-left corner is (0,0).
Declaration
public RECT rect
Field Value
| Type | Description |
|---|---|
| RECT |
roomId
Description: roomId of the stream to mix. In case of cross-room stream mixing, set this parameter to the roomId of the to-be-mixed stream. For same-room stream mixing, set this parameter to nullptr.
Declaration
public string roomId
Field Value
| Type | Description |
|---|---|
| System.String |
streamType
Description: whether the mixed stream is the primary stream (TRTCVideoStreamTypeBig) or screen sharing stream (TRTCVideoStreamTypeSub)
Declaration
public TRTCVideoStreamType streamType
Field Value
| Type | Description |
|---|---|
| TRTCVideoStreamType |
userId
Description: userId of the user whose stream is mixed
Declaration
public string userId
Field Value
| Type | Description |
|---|---|
| System.String |
zOrder
Description: image layer (1-15), which must be unique
Declaration
public int zOrder
Field Value
| Type | Description |
|---|---|
| System.Int32 |