TranscodingVideoStream
- HarmonyOS
更新时间不可用
参与本地合图的视频流。
export class TranscodingVideoStream {
public remoteUserUid:number;
public sourceType:Constants.VideoSourceType;
public imageUrl:string;
public mediaPlayerId:number;
public x:number;
public y:number;
public width:number;
public height:number;
public zOrder:number;
public alpha:number;
public mirror:boolean;
public constructor() {
this.remoteUserUid = 0;
this.sourceType = Constants.VideoSourceType.CAMERA_PRIMARY;
this.imageUrl = "";
this.mediaPlayerId = -1;
this.x = 0;
this.y = 0;
this.width = 0;
this.height = 0;
this.zOrder = 0;
this.alpha = 1.0;
this.mirror = false;
}
}| 参数名 | 描述 |
|---|---|
sourceType | 参与本地合图的视频源类型。详见 VideoSourceType。 |
remoteUserUid | |
imageUrl | |
mediaPlayerId | |
zOrder | |
alpha | |
mirror |