Struct TRTCMixUser
5.10 云端混流中每一路子画面的位置信息
TRTCMixUser 用于指定每一路(即每一个 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
【字段含义】该用户的输入流类型(该字段是对 pureAudio 字段的升级) 【推荐取值】
- 默认值:TRTCMixInputTypeUndefined
- 如果您没有对 pureAudio 字段进行设置,您可以根据实际需要设置该字段
- 如果您已经设置了 pureAudio 为 YES,请设置该字段为 TRTCMixInputTypeUndefined
Declaration
public TRTCMixInputType inputType
Field Value
Type | Description |
---|---|
TRTCMixInputType |
pureAudio
【字段含义】该用户是不是只开启了音频 【推荐取值】默认值:NO 【特别说明】废弃,推荐使用 inputType
Declaration
public bool pureAudio
Field Value
Type | Description |
---|---|
System.Boolean |
rect
【字段含义】图层位置坐标以及大小,左上角为坐标原点(0,0) (绝对像素值)
Declaration
public RECT rect
Field Value
Type | Description |
---|---|
RECT |
roomId
【字段含义】参与混流的 roomId,跨房流传入的实际 roomId,当前房间流传入 roomId = nullptr
Declaration
public string roomId
Field Value
Type | Description |
---|---|
System.String |
streamType
【字段含义】参与混合的是主路画面(TRTCVideoStreamTypeBig)或屏幕分享(TRTCVideoStreamTypeSub)画面
Declaration
public TRTCVideoStreamType streamType
Field Value
Type | Description |
---|---|
TRTCVideoStreamType |
userId
【字段含义】参与混流的 userId
Declaration
public string userId
Field Value
Type | Description |
---|---|
System.String |
zOrder
【字段含义】图层层次(1 - 15)不可重复
Declaration
public int zOrder
Field Value
Type | Description |
---|---|
System.Int32 |