TranscodingVideoStream
- Flutter
更新时间不可用
参与本地合图的视频流。
@JsonSerializable(explicitToJson: true, includeIfNull: false)
class TranscodingVideoStream {
const TranscodingVideoStream(
{this.sourceType,
this.remoteUserUid,
this.imageUrl,
this.mediaPlayerId,
this.x,
this.y,
this.width,
this.height,
this.zOrder,
this.alpha,
this.mirror});
@JsonKey(name: 'sourceType')
final VideoSourceType? sourceType;
@JsonKey(name: 'remoteUserUid')
final int? remoteUserUid;
@JsonKey(name: 'imageUrl')
final String? imageUrl;
@JsonKey(name: 'mediaPlayerId')
final int? mediaPlayerId;
@JsonKey(name: 'x')
final int? x;
@JsonKey(name: 'y')
final int? y;
@JsonKey(name: 'width')
final int? width;
@JsonKey(name: 'height')
final int? height;
@JsonKey(name: 'zOrder')
final int? zOrder;
@JsonKey(name: 'alpha')
final double? alpha;
@JsonKey(name: 'mirror')
final bool? mirror;
factory TranscodingVideoStream.fromJson(Map<String, dynamic> json) =>
_$TranscodingVideoStreamFromJson(json);
Map<String, dynamic> toJson() => _$TranscodingVideoStreamToJson(this);
}属性
| 参数名 | 描述 |
|---|---|
sourceType | 参与本地合图的视频源类型。详见 VideoSourceType。 |
remoteUserUid | |
imageUrl | |
mediaPlayerId | |
x | |
y | |
width | |
height | |
zOrder | |
alpha | |
mirror |