TranscodingUser
- Android
更新时间不可用
用于设置每位主播的转码参数。
public static class TranscodingUser {
public int uid;
public String userId;
public int x;
public int y;
public int width;
public int height;
public int zOrder;
public float alpha;
public int audioChannel;
}属性
| 参数名 | 描述 |
|---|---|
uid | |
x | 主播视频在合成画面中的 x 坐标(以画面左上角为原点,单位为像素)。取值范围为 [0, width],其中 width 为 LiveTranscoding 中设置的画面宽度。 |
y | 主播视频在合成画面中的 y 坐标(以画面左上角为原点,单位为像素)。取值范围为 [0, height],其中 height 为 LiveTranscoding 中设置的画面高度。 |
width | |
height | |
zOrder | |
alpha | |
audioChannel | 注: 若该值不为 0,则需要专用播放器进行播放。 主播音频在输出音频中的声道,默认值为 0,取值范围为 [0, 5]。
|