RecorderStreamInfo

  • Flutter

更新时间不可用

需录制的音视频流的相关信息。

Dart
@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

需录制的用户 ID。

type

需录制的视频流类型,详见 RecorderStreamType。

表格内容超出当前宽度,可横向滚动查看更多列。

这个页面有帮助吗?