Show / Hide Table of Contents

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
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
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 pureAudio to YES, set this parameter to TRTCMixInputTypeUndefined.
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
In This Article
Back to top Generated by DocFX