RecorderStreamInfo
- Flutter
更新时间不可用
需录制的音视频流的相关信息。
@JsonSerializable(explicitToJson: true, includeIfNull: false)
class RecorderStreamInfo {
const RecorderStreamInfo({this.channelId, this.uid});
@JsonKey(name: 'channelId')
final String? channelId;
@JsonKey(name: 'uid')
final int? uid;
@JsonKey(name: 'type')
final RecorderStreamType? type;
factory RecorderStreamInfo.fromJson(Map<String, dynamic> json) =>
_$RecorderStreamInfoFromJson(json);
Map<String, dynamic> toJson() => _$RecorderStreamInfoToJson(this);
}属性
| 参数名 | 描述 |
|---|---|
channelId | |
uid | |
type | 需录制的视频流类型,详见 RecorderStreamType。 |