models

package
v1.69.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2026 License: Apache-2.0 Imports: 0 Imported by: 10 modules, 9 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AbnormalEventInfo added in v1.65.0

type AbnormalEventInfo struct {

	/* 主键 (Optional) */
	Uuid string `json:"uuid"`

	/* JRTC应用ID (Optional) */
	AppId string `json:"appId"`

	/* 业务接入方定义的且在JRTC系统内注册过的userRoomId (Optional) */
	UserRoomId string `json:"userRoomId"`

	/* 业务接入方定义的且在JRTC系统内注册过的userId (Optional) */
	UserId string `json:"userId"`

	/* 设备ID (Optional) */
	DeviceId string `json:"deviceId"`

	/* 异常事件码 (Optional) */
	AbnormalCode string `json:"abnormalCode"`

	/* 异常事件描述 (Optional) */
	AbnormalDescription string `json:"abnormalDescription"`

	/* 异常事件详情 (Optional) */
	AbnormalDetail string `json:"abnormalDetail"`

	/* 级别 (Optional) */
	QualityLevel string `json:"qualityLevel"`

	/* 事件发生事件 UTC时间 (Optional) */
	EventTime string `json:"eventTime"`
}

type AccessNetinfo added in v1.65.0

type AccessNetinfo struct {

	/* appId (Optional) */
	AppId string `json:"appId"`

	/* 用户定义的房间号 (Optional) */
	UserRoomId string `json:"userRoomId"`

	/* 业务接入方用户体系定义的且在JRTC系统内注册过的userId (Optional) */
	UserId string `json:"userId"`

	/* 用户房间内昵称 (Optional) */
	NickName string `json:"nickName"`

	/* 用户socketIo长连接id (Optional) */
	ConnectId string `json:"connectId"`

	/* 网络类型 (Optional) */
	NetworkType string `json:"networkType"`

	/* 外网IP (Optional) */
	ExtranetIp string `json:"extranetIp"`

	/* 地理位置 (Optional) */
	Location string `json:"location"`

	/* 网络连接质量,取值1~10 (Optional) */
	NetScore int `json:"netScore"`

	/* 状态 1-在线 2-离线 (Optional) */
	Status int `json:"status"`

	/* 创建时间 (Optional) */
	JoinTime string `json:"joinTime"`

	/* 更新时间 (Optional) */
	UpdateTime string `json:"updateTime"`
}

type AddMcuFocusUsers added in v1.65.0

type AddMcuFocusUsers struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 业务接入方定义的且在JRTC系统内注册过的房间号 (Optional) */
	UserRoomId string `json:"userRoomId"`

	/* 焦点用户userId列表 (Optional) */
	UserIds []string `json:"userIds"`
}

type AddPushStreamConfigReqObj added in v1.56.0

type AddPushStreamConfigReqObj struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 转推类型  1-全局自动 2-指定流转推 (Optional) */
	PushType int `json:"pushType"`

	/* 推流域名 (Optional) */
	PushDomain string `json:"pushDomain"`
}

type AddPushStreamRuleObj added in v1.56.0

type AddPushStreamRuleObj struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 推流规则 (Optional) */
	Rules []PushStreamRule `json:"rules"`
}

type AddRecordConfigReqObj added in v1.56.0

type AddRecordConfigReqObj struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 录制类型 1-全局录制 2-指定录制 (Optional) */
	RecordType int `json:"recordType"`

	/* 存储位置 (Optional) */
	Bucket string `json:"bucket"`

	/* 录制文件类型 (Optional) */
	FileType string `json:"fileType"`

	/* 回调地址 (Optional) */
	CallbackUrl string `json:"callbackUrl"`

	/* 回调token (Optional) */
	CallbackToken string `json:"callbackToken"`
}

type AddRecordRuleObj added in v1.56.0

type AddRecordRuleObj struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 录制规则 (Optional) */
	Rules []RecordRule `json:"rules"`
}

type AddSipMcuFocusUsers added in v1.65.0

type AddSipMcuFocusUsers struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 业务接入方定义的且在JRTC系统内注册过的房间号 (Optional) */
	UserRoomId string `json:"userRoomId"`

	/* 焦点用户userId列表 (Optional) */
	UserIds []string `json:"userIds"`
}

type AppConentObject

type AppConentObject struct {

	/* 当前页码 (Optional) */
	PageNumber int `json:"pageNumber"`

	/* 每页数量 (Optional) */
	PageSize int `json:"pageSize"`

	/* 查询总数 (Optional) */
	TotalElements int `json:"totalElements"`

	/* 总页数 (Optional) */
	TotalPages int `json:"totalPages"`

	/* 分页内容 (Optional) */
	Content []AppInfoObject `json:"content"`
}

type AppInfoObject

type AppInfoObject struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 应用名称 (Optional) */
	AppName string `json:"appName"`

	/* 应用状态: OPEN-启用, CLOSE-停用
	(Optional) */
	Status string `json:"status"`

	/* 应用默认创建的房间类型 1-小房间;2-大房间 (Optional) */
	RoomType int `json:"roomType"`

	/* 计费类型: Duration-按时长
	(Optional) */
	BillType string `json:"billType"`

	/* 创建时间(UTC) (Optional) */
	CreateTime string `json:"createTime"`
}

type AppKeyInfoObject

type AppKeyInfoObject struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* appKey (Optional) */
	AppKey string `json:"appKey"`
}

type AudioLevel added in v1.65.0

type AudioLevel struct {

	/* 业务接入方用户体系定义的且在JRTC系统内注册过的userId (Optional) */
	UserId string `json:"userId"`

	/* 时间戳-毫秒 (Optional) */
	Date int64 `json:"date"`

	/* 音量 (Optional) */
	Level int64 `json:"level"`
}

type BaseDataOverview added in v1.56.0

type BaseDataOverview struct {

	/* 活跃用户 (Optional) */
	ActiveUserNumber int64 `json:"activeUserNumber"`

	/* 时长-second (Optional) */
	Duration int64 `json:"duration"`
}

type BitRate added in v1.65.0

type BitRate struct {

	/* 业务接入方用户体系定义的且在JRTC系统内注册过的userId (Optional) */
	UserId string `json:"userId"`

	/* 时间戳-毫秒 (Optional) */
	Date int64 `json:"date"`

	/* 比特率 bps (Optional) */
	Bitrate float64 `json:"bitrate"`
}

type CallDuration added in v1.56.0

type CallDuration struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 时间戳-毫秒 (Optional) */
	Date int64 `json:"date"`

	/* 时长-second (Optional) */
	Duration int64 `json:"duration"`
}

type CallDurationByCodeRate added in v1.56.0

type CallDurationByCodeRate struct {

	/* 时间戳毫秒 (Optional) */
	Date int64 `json:"date"`

	/* 音频通讯时长-分钟 (Optional) */
	Audio int64 `json:"audio"`

	/* (0,480p]通讯时长-分钟 (Optional) */
	Lte_480 int64 `json:"lte_480"`

	/* (480p,720p]通讯时长-分钟 (Optional) */
	Gt_480_lte_720 int64 `json:"gt_480_lte_720"`

	/* (720p,1080p]通讯时长-分钟 (Optional) */
	Gte_720 int64 `json:"gte_720"`
}

type CheckAuthInfo

type CheckAuthInfo struct {

	/* appId (Optional) */
	AppId string `json:"appId"`

	/* appKey (Optional) */
	AppKey string `json:"appKey"`

	/* 用户id (Optional) */
	UserId string `json:"userId"`

	/* 会议号 (Optional) */
	RoomId int64 `json:"roomId"`

	/* 随机令牌 (Optional) */
	Nonce string `json:"nonce"`

	/* 时间戳-毫秒 (Optional) */
	Timestamp int64 `json:"timestamp"`

	/* token (Optional) */
	Token string `json:"token"`
}

type CloseRoomUserStreamObj added in v1.56.0

type CloseRoomUserStreamObj struct {

	/* 业务接入方定义的且在JRTC系统内注册过的房间号 (Optional) */
	UserRoomId string `json:"userRoomId"`

	/* 业务接入方用户体系定义的且在JRTC系统内注册过的userId (Optional) */
	UserId string `json:"userId"`

	/* 要关闭的流ID (Optional) */
	StreamId string `json:"streamId"`
}

type CreateAppRequestObject

type CreateAppRequestObject struct {

	/* 应用名称 (Optional) */
	AppName string `json:"appName"`

	/* 应用创建的默认房间类型 1-小房间;2-大房间 (Optional) */
	RoomType int `json:"roomType"`
}

type CreateRoomRequestObj

type CreateRoomRequestObj struct {

	/* 房间名称 (Optional) */
	RoomName string `json:"roomName"`

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 房间类型 1-小房间(音频单流订阅) 2-大房间(音频固定订阅) (Optional) */
	RoomType int `json:"roomType"`

	/* 会议类型 0-即时会议 1-预约会议 (Optional) */
	MeetingType int `json:"meetingType"`

	/* 用户ID(创建者ID) (Optional) */
	PeerId int64 `json:"peerId"`
}

type CreateTokenInfo added in v1.56.0

type CreateTokenInfo struct {

	/* appId (Optional) */
	AppId string `json:"appId"`

	/* appKey (Optional) */
	AppKey string `json:"appKey"`

	/* 用户id (Optional) */
	UserId string `json:"userId"`

	/* 业务接入方定义的且在JRTC系统内注册过的房间号 (Optional) */
	UserRoomId string `json:"userRoomId"`

	/* 时间戳-毫秒 (Optional) */
	Timestamp int64 `json:"timestamp"`
}

type CreateUserRequestObj

type CreateUserRequestObj struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 用户名称 (Optional) */
	UserName string `json:"userName"`

	/* 业务接入方的用户ID (Optional) */
	UserId string `json:"userId"`

	/* 用户头像url (Optional) */
	PortraitUrl string `json:"portraitUrl"`

	/* 是否临时用户 (Optional) */
	Temporary bool `json:"temporary"`
}

type CreateUserResultObj

type CreateUserResultObj struct {

	/* 用户ID (Optional) */
	PeerId int64 `json:"peerId"`

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 业务接入方的用户ID (Optional) */
	UserId string `json:"userId"`
}

type ExternalSipCallReq added in v1.65.0

type ExternalSipCallReq struct {

	/* 目标sip域 (Optional) */
	DestDomain string `json:"destDomain"`

	/* 要呼叫的目标号码(会议号或者sip号) (Optional) */
	DestNumber string `json:"destNumber"`

	/* 京东会议所在的sip域 (Optional) */
	RoomDomain string `json:"roomDomain"`

	/* 业务接入方定义的且在JRTC系统内注册过的房间号 (Optional) */
	UserRoomId string `json:"userRoomId"`

	/* sip上显示的京东会议的名称 (Optional) */
	RoomDisplay string `json:"roomDisplay"`

	/* 呼叫的类型, 0:默认值,呼叫本地注册;1:通过sip网关呼叫;2:通过网关呼叫电话 (Optional) */
	DestType string `json:"destType"`

	/* 网关名称, 当destType为1或者2时,需要传该参数 (Optional) */
	Gateway string `json:"gateway"`

	/* 业务接入方用户体系的userId注册为jrtc系统内可识别和流转的用户id,当destType为2时,需要传该参数 (Optional) */
	UserId string `json:"userId"`

	/* 呼叫保持 (Optional) */
	Holdon bool `json:"holdon"`
}

type Filter

type Filter struct {

	/* 过滤器属性名  */
	Name string `json:"name"`

	/* 过滤器操作符,默认值为 eq
	enum:
	  - eq
	 (Optional) */
	Operator *string `json:"operator"`

	/* 过滤器属性值  */
	Values []string `json:"values"`
}

type FrameRate added in v1.65.0

type FrameRate struct {

	/* 业务接入方用户体系定义的且在JRTC系统内注册过的userId (Optional) */
	UserId string `json:"userId"`

	/* 时间戳-毫秒 (Optional) */
	Date int64 `json:"date"`

	/* 帧率 (Optional) */
	FrameRate int64 `json:"frameRate"`
}

type GenerateTokenAuthInfo

type GenerateTokenAuthInfo struct {

	/* appId (Optional) */
	AppId string `json:"appId"`

	/* appKey (Optional) */
	AppKey string `json:"appKey"`

	/* 用户id (Optional) */
	UserId string `json:"userId"`

	/* 会议号 (Optional) */
	RoomId int64 `json:"roomId"`

	/* 时间戳-毫秒 (Optional) */
	Timestamp int64 `json:"timestamp"`
}

type ImMessage added in v1.65.0

type ImMessage struct {

	/* JRTC应用ID (Optional) */
	AppId string `json:"appId"`

	/* 消息组id (Optional) */
	GroupId string `json:"groupId"`

	/* 消息id (Optional) */
	MsgId string `json:"msgId"`

	/* 业务接入方定义的且在JRTC系统内注册过的userRoomId (Optional) */
	UserRoomId string `json:"userRoomId"`

	/* 发送方用户userId (Optional) */
	UserId string `json:"userId"`

	/* 发送方用户昵称 (Optional) */
	NickName string `json:"nickName"`

	/* 消息体 (Optional) */
	Msg string `json:"msg"`

	/* 发送时间 (Optional) */
	SendTime string `json:"sendTime"`
}

type ImMessageRecords added in v1.65.0

type ImMessageRecords struct {

	/* 当前页码 (Optional) */
	PageNumber int `json:"pageNumber"`

	/* 每页数量 (Optional) */
	PageSize int `json:"pageSize"`

	/* 查询总数 (Optional) */
	TotalElements int `json:"totalElements"`

	/* 总页数 (Optional) */
	TotalPages int `json:"totalPages"`

	/* IM消息记录 (Optional) */
	Content []ImMessage `json:"content"`
}

type InternalNetinfo added in v1.65.0

type InternalNetinfo struct {

	/* appId (Optional) */
	AppId string `json:"appId"`

	/* 用户定义的房间号 (Optional) */
	UserRoomId string `json:"userRoomId"`

	/* 业务接入方用户体系定义的且在JRTC系统内注册过的userId (Optional) */
	UserId string `json:"userId"`

	/* 用户房间内昵称 (Optional) */
	NickName string `json:"nickName"`

	/* 用户socketIo长连接id (Optional) */
	ConnectId string `json:"connectId"`

	/* 网络类型 (Optional) */
	NetworkType string `json:"networkType"`

	/* 内网IP (Optional) */
	InternalIp string `json:"internalIp"`

	/* 外网IP (Optional) */
	ExtranetIp string `json:"extranetIp"`

	/* 地理位置 (Optional) */
	Location string `json:"location"`

	/* 网络连接质量,取值1~10 (Optional) */
	NetScore int `json:"netScore"`

	/* 状态 1-在线 2-离线 (Optional) */
	Status int `json:"status"`

	/* 创建时间 (Optional) */
	JoinTime string `json:"joinTime"`

	/* 更新时间 (Optional) */
	UpdateTime string `json:"updateTime"`
}

type JRTCAuthInfo

type JRTCAuthInfo struct {

	/* appId (Optional) */
	AppId string `json:"appId"`

	/* appKey (Optional) */
	AppKey string `json:"appKey"`

	/* 用户id (Optional) */
	UserId string `json:"userId"`

	/* 会议号 (Optional) */
	RoomId int64 `json:"roomId"`

	/* 随机令牌 (Optional) */
	Nonce string `json:"nonce"`

	/* 时间戳-毫秒 (Optional) */
	Timestamp int64 `json:"timestamp"`

	/* token (Optional) */
	Token string `json:"token"`

	/* 是否可用(true-可用,false-不可用) (Optional) */
	Available bool `json:"available"`
}

type Jitter added in v1.65.0

type Jitter struct {

	/* 业务接入方用户体系定义的且在JRTC系统内注册过的userId (Optional) */
	UserId string `json:"userId"`

	/* 时间戳-毫秒 (Optional) */
	Date int64 `json:"date"`

	/* 抖动 (Optional) */
	Jitter int64 `json:"jitter"`
}

type LiveDomainObj added in v1.56.0

type LiveDomainObj struct {

	/* domain (Optional) */
	Domain string `json:"domain"`

	/* cname (Optional) */
	Cname string `json:"cname"`
}

type McuUser added in v1.56.0

type McuUser struct {

	/* 业务接入方用户体系定义的且在JRTC系统内注册过的userId (Optional) */
	UserId *string `json:"userId"`

	/* 昵称 (Optional) */
	NickName *string `json:"nickName"`

	/* 占位图URL (Optional) */
	PlaceImageUrl *string `json:"placeImageUrl"`

	/* 角色名称 (Optional) */
	RoleName *string `json:"roleName"`

	/* 是否严格保持数组顺序  0:不保持  1:保持 (Optional) */
	KeepOrder *int `json:"keepOrder"`
}

type MessageToRoom added in v1.56.0

type MessageToRoom struct {

	/* 事件名称 (Optional) */
	EventName string `json:"eventName"`

	/* 自定义信令消息 (Optional) */
	Message string `json:"message"`
}

type MessageToRoomUser added in v1.56.0

type MessageToRoomUser struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 业务接入方定义的且在JRTC系统内注册过的房间号 (Optional) */
	UserRoomId string `json:"userRoomId"`

	/* 业务接入方用户体系定义的且在JRTC系统内注册过的userId (Optional) */
	UserId string `json:"userId"`

	/* 事件名称 (Optional) */
	EventName string `json:"eventName"`

	/* 自定义信令消息 (Optional) */
	Message string `json:"message"`
}

type MessageToUser added in v1.56.0

type MessageToUser struct {

	/* 事件名称 (Optional) */
	EventName string `json:"eventName"`

	/* 自定义信令消息 (Optional) */
	Message string `json:"message"`

	/* peerId (Optional) */
	PeerId int64 `json:"peerId"`
}

type MessageToUserRoom added in v1.56.0

type MessageToUserRoom struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 业务接入方定义的且在JRTC系统内注册过的房间号 (Optional) */
	UserRoomId string `json:"userRoomId"`

	/* 事件名称 (Optional) */
	EventName string `json:"eventName"`

	/* 自定义信令消息 (Optional) */
	Message string `json:"message"`
}

type MetricDatapoints added in v1.65.0

type MetricDatapoints struct {

	/* 指标名称 (Optional) */
	MetricName string `json:"metricName"`

	/* 指标数据集 (Optional) */
	Datapoints string `json:"datapoints"`
}

type ModifyAppNameRequestObject

type ModifyAppNameRequestObject struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 应用名称 (Optional) */
	AppName string `json:"appName"`
}

type ModifyAppRequestObject added in v1.56.0

type ModifyAppRequestObject struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 应用名称 (Optional) */
	AppName string `json:"appName"`

	/* 应用创建的默认房间类型 (Optional) */
	RoomType int `json:"roomType"`
}

type ModifyAppStatusRequestObject

type ModifyAppStatusRequestObject struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 应用状态(OPEN,CLOSE) (Optional) */
	Status string `json:"status"`
}

type NetDelay added in v1.65.0

type NetDelay struct {

	/* 业务接入方用户体系定义的且在JRTC系统内注册过的userId (Optional) */
	UserId string `json:"userId"`

	/* 时间戳-毫秒 (Optional) */
	Date int64 `json:"date"`

	/* 网络延迟-毫秒 (Optional) */
	Delay int64 `json:"delay"`
}

type NotifyConfigObj added in v1.56.0

type NotifyConfigObj struct {

	/* 主键-新增时不传,更新时要传 (Optional) */
	ConfigId int64 `json:"configId"`

	/* 回调类型 1-房间回调 2-媒体回调 (Optional) */
	NotifyType int `json:"notifyType"`

	/* 回调地址 (Optional) */
	Url string `json:"url"`
}

type NotifyConfigRequestObj added in v1.56.0

type NotifyConfigRequestObj struct {

	/* 回调配置 (Optional) */
	Content []NotifyConfigObj `json:"content"`
}

type OutputEncode added in v1.56.0

type OutputEncode struct {

	/* 混流类型:1:音频 2:视频  3:音视频 (Optional) */
	OutputKind *int `json:"outputKind"`

	/* 混流-输出流音频采样率。取值为[48000, 44100, 32000, 24000, 16000, 8000],单位Hz。 (Optional) */
	AudioSampleRate *int `json:"audioSampleRate"`

	/* 音频比特率:取值范围[8,500] (Optional) */
	AudioBitrate *int `json:"audioBitrate"`

	/* 通道:取值范围[1,2] (Optional) */
	AudioChannels *int `json:"audioChannels"`

	/* 视频比特率:取值范围[1,10000] (Optional) */
	VideoBitrate *int `json:"videoBitrate"`

	/* 视频帧率:取值范围[1,60] (Optional) */
	VideoFrame *int `json:"videoFrame"`

	/* 视频宽:取值范围[1,1920] (Optional) */
	VideoWidth *int `json:"videoWidth"`

	/* 视频高:取值范围[1,1080] (Optional) */
	VideoHeight *int `json:"videoHeight"`

	/* 取值范围[1,5] (Optional) */
	VideoGop *int `json:"videoGop"`
}

type PacketLoss added in v1.65.0

type PacketLoss struct {

	/* 业务接入方用户体系定义的且在JRTC系统内注册过的userId (Optional) */
	UserId string `json:"userId"`

	/* 时间戳-毫秒 (Optional) */
	Date int64 `json:"date"`

	/* 最大丢包 (Optional) */
	MaxPacketLoss float64 `json:"maxPacketLoss"`

	/* 平均丢包 (Optional) */
	AvgPacketLoss float64 `json:"avgPacketLoss"`
}

type PushStreamConfigInfo added in v1.56.0

type PushStreamConfigInfo struct {

	/* 主键 (Optional) */
	Id int64 `json:"id"`

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 旁路转推开关 1-开启;0关闭 (Optional) */
	PushStatus int `json:"pushStatus"`

	/* 转推类型  1-全局自动 2-指定流转推 (Optional) */
	PushType int `json:"pushType"`

	/* 推流域名 (Optional) */
	PushDomain string `json:"pushDomain"`
}

type PushStreamRule added in v1.56.0

type PushStreamRule struct {

	/* 业务接入方定义的且在JRTC系统内注册过的房间号 (Optional) */
	UserRoomId *string `json:"userRoomId"`

	/* 业务接入方用户体系定义的且在JRTC系统内注册过的userId,当前不支持混流,且只支持一个userId,不指定时,默认录转推房间内所有userId的单路音视频流 (Optional) */
	McuUsers *string `json:"mcuUsers"`
}

type PushStreamUserId added in v1.56.0

type PushStreamUserId struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 业务接入方定义的且在JRTC系统内注册过的用户id (Optional) */
	UserId string `json:"userId"`
}

type RecordBucketObj added in v1.56.0

type RecordBucketObj struct {

	/* bucket (Optional) */
	Bucket string `json:"bucket"`
}

type RecordConfigInfo added in v1.56.0

type RecordConfigInfo struct {

	/* 主键 (Optional) */
	Id int64 `json:"id"`

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 录制状态1-开启;0关闭 (Optional) */
	RecordStatus int `json:"recordStatus"`

	/* 录制类型 1-全局录制 2-指定录制 (Optional) */
	RecordType int `json:"recordType"`

	/* 存储位置 (Optional) */
	Bucket string `json:"bucket"`

	/* 录制文件类型 (Optional) */
	FileType string `json:"fileType"`

	/* 回调地址 (Optional) */
	CallbackUrl string `json:"callbackUrl"`

	/* 回调token (Optional) */
	CallbackToken string `json:"callbackToken"`
}

type RecordInfoObj added in v1.65.0

type RecordInfoObj struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 录制任务ID (Optional) */
	TaskId string `json:"taskId"`

	/* 业务接入方定义的且在JRTC系统内注册过的房间号 (Optional) */
	UserRoomId string `json:"userRoomId"`

	/* 对象存储endpoint (Optional) */
	OssEndpoint string `json:"ossEndpoint"`

	/* 对象存储bucket (Optional) */
	OssBucket string `json:"ossBucket"`

	/* 录制文件名 (Optional) */
	OutputName string `json:"outputName"`

	/* 录制文件格式 (Optional) */
	Format string `json:"format"`

	/* 录制文件下载地址 (Optional) */
	FilePath string `json:"filePath"`

	/* 录制文件md5 (Optional) */
	Md5 string `json:"md5"`

	/* 录制文件大小 byte (Optional) */
	Size int64 `json:"size"`

	/* 录制时长 ms (Optional) */
	Duration int64 `json:"duration"`

	/* 码率 bps (Optional) */
	Bitrate int64 `json:"bitrate"`

	/* 视频编码 (Optional) */
	VideoCodec string `json:"videoCodec"`

	/* 视频宽度 (Optional) */
	Width int `json:"width"`

	/* 视频高度 (Optional) */
	Height int `json:"height"`

	/* 视频帧率 (Optional) */
	VideoFrameRate float32 `json:"videoFrameRate"`

	/* 音频编码 (Optional) */
	AudioCodec string `json:"audioCodec"`

	/* 音频profile (Optional) */
	AudioProfile string `json:"audioProfile"`

	/* 音频声道数 (Optional) */
	AudioChannel int `json:"audioChannel"`

	/* 音频采样率 (Optional) */
	AudioSampleRate int `json:"audioSampleRate"`

	/* 创建时间 (Optional) */
	CreateTime string `json:"createTime"`
}

type RecordRule added in v1.56.0

type RecordRule struct {

	/* 业务接入方定义的且在JRTC系统内注册过的房间号 (Optional) */
	UserRoomId *string `json:"userRoomId"`

	/* 业务接入方用户体系定义的且在JRTC系统内注册过的userId,当前不支持混流,且只支持一个userId,不指定时,默认录制本房间内所有userId的单路音视频流 (Optional) */
	McuUsers *string `json:"mcuUsers"`

	/* 录制文件前缀 (Optional) */
	FilePrefix *string `json:"filePrefix"`
}

type RegisterSipUserReq added in v1.65.0

type RegisterSipUserReq struct {

	/* JRTC应用ID (Optional) */
	AppId string `json:"appId"`

	/* SIP域地址 (Optional) */
	Domain string `json:"domain"`

	/* SIP用户(设备)ID (Optional) */
	SipUserId string `json:"sipUserId"`

	/* 密码 (Optional) */
	Passwd string `json:"passwd"`
}

type RegisterUserInfoObj added in v1.56.0

type RegisterUserInfoObj struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* jrtc系统用户id (Optional) */
	PeerId int64 `json:"peerId"`

	/* 业务接入方用户体系定义的且在JRTC系统内注册过的userId (Optional) */
	UserId string `json:"userId"`

	/* 用户名称 (Optional) */
	UserName string `json:"userName"`

	/* 是否临时用户 (Optional) */
	Temporary bool `json:"temporary"`

	/* 创建时间 (Optional) */
	CreateTime string `json:"createTime"`
}

type RegisterUserInfosObj added in v1.56.0

type RegisterUserInfosObj struct {

	/* 当前页码 (Optional) */
	PageNumber int `json:"pageNumber"`

	/* 每页数量 (Optional) */
	PageSize int `json:"pageSize"`

	/* 查询总数 (Optional) */
	TotalElements int `json:"totalElements"`

	/* 总页数 (Optional) */
	TotalPages int `json:"totalPages"`

	/* 分页内容 (Optional) */
	Content []RegisterUserInfoObj `json:"content"`
}

type RegisterUserRequestObj added in v1.56.0

type RegisterUserRequestObj struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 用户名称 (Optional) */
	UserName string `json:"userName"`

	/* 业务接入方用户体系定义的userId (Optional) */
	UserId string `json:"userId"`

	/* 用户头像url (Optional) */
	PortraitUrl string `json:"portraitUrl"`

	/* 是否临时用户 (Optional) */
	Temporary bool `json:"temporary"`
}

type RegisterUserResultObj added in v1.56.0

type RegisterUserResultObj struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 业务接入方用户体系定义的userId (Optional) */
	UserId string `json:"userId"`

	/* jrtc系统用户ID (Optional) */
	PeerId int64 `json:"peerId"`
}

type RegisterUserRoomRequestObj added in v1.56.0

type RegisterUserRoomRequestObj struct {

	/* 业务接入方定义的房间号 (Optional) */
	UserRoomId string `json:"userRoomId"`

	/* 房间名称 (Optional) */
	RoomName string `json:"roomName"`

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 房间类型 1-小房间(音频单流订阅) 2-大房间(音频固定订阅),默认取控制台APP对应的房间类型 (Optional) */
	RoomType int `json:"roomType"`
}

type RemoveAllRoomUsersObj added in v1.56.0

type RemoveAllRoomUsersObj struct {

	/* 业务接入方定义的且在JRTC系统内注册过的房间号 (Optional) */
	UserRoomId string `json:"userRoomId"`
}

type RemoveMcuFocusUsers added in v1.65.0

type RemoveMcuFocusUsers struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 业务接入方定义的且在JRTC系统内注册过的房间号 (Optional) */
	UserRoomId string `json:"userRoomId"`
}

type RemoveRoomUsersInfo added in v1.56.0

type RemoveRoomUsersInfo struct {

	/* peerId列表,最多支持20个peerId (Optional) */
	PeerIds []int64 `json:"peerIds"`
}

type RemoveRoomUsersObj added in v1.56.0

type RemoveRoomUsersObj struct {

	/* 业务接入方定义的且在JRTC系统内注册过的房间号 (Optional) */
	UserRoomId string `json:"userRoomId"`

	/* 接入方定义的userId列表,最多支持20个userId (Optional) */
	UserIds []string `json:"userIds"`
}

type RemoveSipMcuFocusUsers added in v1.65.0

type RemoveSipMcuFocusUsers struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 业务接入方定义的且在JRTC系统内注册过的房间号 (Optional) */
	UserRoomId string `json:"userRoomId"`
}

type Resolution added in v1.65.0

type Resolution struct {

	/* 业务接入方用户体系定义的且在JRTC系统内注册过的userId (Optional) */
	UserId string `json:"userId"`

	/* 时间戳-毫秒 (Optional) */
	Date int64 `json:"date"`

	/* 视频宽 (Optional) */
	Width int `json:"width"`

	/* 视频高 (Optional) */
	Height int `json:"height"`
}

type RoomConcurrency added in v1.65.0

type RoomConcurrency struct {

	/* 会议数并发 (Optional) */
	ConcurrentRooms int `json:"concurrentRooms"`

	/* 参会人数并发 (Optional) */
	ConcurrentUsers int `json:"concurrentUsers"`

	/* 日期时间戳 (Optional) */
	DateTime int64 `json:"dateTime"`
}

type RoomInfoObj added in v1.52.0

type RoomInfoObj struct {

	/* 房间ID (Optional) */
	RoomId int64 `json:"roomId"`

	/* 房间名称 (Optional) */
	RoomName string `json:"roomName"`

	/* 房间类型 1-小房间(音频单流订阅) 2-大房间(音频固定订阅) (Optional) */
	RoomType int `json:"roomType"`

	/* appId (Optional) */
	AppId string `json:"appId"`

	/* 用户ID(创建者ID) (Optional) */
	PeerId int64 `json:"peerId"`

	/* 创建时间 (Optional) */
	CreateTime string `json:"createTime"`

	/* 更新时间 (Optional) */
	UpdateTime string `json:"updateTime"`
}

type RoomInfosObj added in v1.52.0

type RoomInfosObj struct {

	/* 当前页码 (Optional) */
	PageNumber int `json:"pageNumber"`

	/* 每页数量 (Optional) */
	PageSize int `json:"pageSize"`

	/* 查询总数 (Optional) */
	TotalElements int `json:"totalElements"`

	/* 总页数 (Optional) */
	TotalPages int `json:"totalPages"`

	/* 分页内容 (Optional) */
	Content []RoomInfoObj `json:"content"`
}

type RoomRecordInfosObj added in v1.65.0

type RoomRecordInfosObj struct {

	/* 当前页码 (Optional) */
	PageNumber int `json:"pageNumber"`

	/* 每页数量 (Optional) */
	PageSize int `json:"pageSize"`

	/* 查询总数 (Optional) */
	TotalElements int `json:"totalElements"`

	/* 总页数 (Optional) */
	TotalPages int `json:"totalPages"`

	/* 分页内容 (Optional) */
	Content []RecordInfoObj `json:"content"`
}

type RoomStreamContent added in v1.56.0

type RoomStreamContent struct {

	/* 当前页码 (Optional) */
	PageNumber int `json:"pageNumber"`

	/* 每页数量 (Optional) */
	PageSize int `json:"pageSize"`

	/* 查询总数 (Optional) */
	TotalElements int `json:"totalElements"`

	/* 总页数 (Optional) */
	TotalPages int `json:"totalPages"`

	/* 推流信息列表 (Optional) */
	Content []StreamInfo `json:"content"`
}

type RoomUserEventInfo added in v1.65.0

type RoomUserEventInfo struct {

	/* 主键 (Optional) */
	Uuid string `json:"uuid"`

	/* JRTC应用ID (Optional) */
	AppId string `json:"appId"`

	/* 业务接入方定义的且在JRTC系统内注册过的userRoomId (Optional) */
	UserRoomId string `json:"userRoomId"`

	/* 业务接入方定义的且在JRTC系统内注册过的userId (Optional) */
	UserId string `json:"userId"`

	/* 设备ID (Optional) */
	DeviceId string `json:"deviceId"`

	/* 事件名称 (Optional) */
	EventName string `json:"eventName"`

	/* 事件编码 (Optional) */
	EventCode string `json:"eventCode"`

	/* 事件标签 (Optional) */
	EventLabel string `json:"eventLabel"`

	/* 事件详情 (Optional) */
	EventDetail string `json:"eventDetail"`

	/* 事件发生事件 UTC时间 (Optional) */
	EventTime string `json:"eventTime"`
}

type RoomUserInfoObj added in v1.56.0

type RoomUserInfoObj struct {

	/* appId (Optional) */
	AppId string `json:"appId"`

	/* 用户定义的房间号 (Optional) */
	UserRoomId string `json:"userRoomId"`

	/* 业务接入方用户体系定义的且在JRTC系统内注册过的userId (Optional) */
	UserId string `json:"userId"`

	/* 用户房间内昵称 (Optional) */
	NickName string `json:"nickName"`

	/* 用户socketIo长连接id (Optional) */
	ConnectId string `json:"connectId"`

	/* 状态 1-在线 2-离线 (Optional) */
	Status int `json:"status"`

	/* 创建时间 (Optional) */
	JoinTime string `json:"joinTime"`

	/* 更新时间 (Optional) */
	UpdateTime string `json:"updateTime"`
}

type RoomUserInfosObj added in v1.56.0

type RoomUserInfosObj struct {

	/* 当前页码 (Optional) */
	PageNumber int `json:"pageNumber"`

	/* 每页数量 (Optional) */
	PageSize int `json:"pageSize"`

	/* 查询总数 (Optional) */
	TotalElements int `json:"totalElements"`

	/* 总页数 (Optional) */
	TotalPages int `json:"totalPages"`

	/* 分页内容 (Optional) */
	Content []RoomUserInfoObj `json:"content"`
}

type RoomUserNumInfos

type RoomUserNumInfos struct {

	/* 当前页码 (Optional) */
	PageNumber int `json:"pageNumber"`

	/* 每页数量 (Optional) */
	PageSize int `json:"pageSize"`

	/* 查询总数 (Optional) */
	TotalElements int `json:"totalElements"`

	/* 总页数 (Optional) */
	TotalPages int `json:"totalPages"`

	/* 分页内容 (Optional) */
	Content []UserNumInfo `json:"content"`
}

type RoomUserRecord added in v1.56.0

type RoomUserRecord struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 业务接入方定义的且在JRTC系统内注册过的用户id (Optional) */
	UserId string `json:"userId"`

	/* 昵称 (Optional) */
	NickName string `json:"nickName"`

	/* 设备名称 (Optional) */
	DeviceName string `json:"deviceName"`

	/* 设备类型 (Optional) */
	DeviceType string `json:"deviceType"`

	/* 设备型号 (Optional) */
	DeviceMode string `json:"deviceMode"`

	/* 系统版本 (Optional) */
	OsVersion string `json:"osVersion"`

	/* 持续时长 (Optional) */
	Duration int64 `json:"duration"`

	/* 加入时间 (Optional) */
	JoinTime string `json:"joinTime"`

	/* 离开时间 (Optional) */
	LeaveTime string `json:"leaveTime"`
}

type RoomUserRecordInfo added in v1.56.0

type RoomUserRecordInfo struct {

	/* 当前页码 (Optional) */
	PageNumber int `json:"pageNumber"`

	/* 每页数量 (Optional) */
	PageSize int `json:"pageSize"`

	/* 查询总数 (Optional) */
	TotalElements int `json:"totalElements"`

	/* 总页数 (Optional) */
	TotalPages int `json:"totalPages"`

	/* 分页内容 (Optional) */
	Content []RoomUserRecord `json:"content"`
}

type RoomUserRecordInfoContent added in v1.65.0

type RoomUserRecordInfoContent struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 业务接入方定义的且在JRTC系统内注册过的用户房间号 (Optional) */
	UserRoomId string `json:"userRoomId"`

	/* 房间名称 (Optional) */
	RoomName string `json:"roomName"`

	/* 业务接入方定义的且在JRTC系统内注册过的用户ID (Optional) */
	UserId string `json:"userId"`

	/* 昵称 (Optional) */
	NickName string `json:"nickName"`

	/* 设备ID (Optional) */
	DeviceId string `json:"deviceId"`

	/* 设备名称 (Optional) */
	DeviceName string `json:"deviceName"`

	/* 设备类型 (Optional) */
	DeviceType string `json:"deviceType"`

	/* 设备型号 (Optional) */
	DeviceModel string `json:"deviceModel"`

	/* sdk版本 (Optional) */
	SdkVersion string `json:"sdkVersion"`

	/* 接入服务器ip (Optional) */
	InternalIp string `json:"internalIp"`

	/* 接入网络类型 (Optional) */
	NetworkType string `json:"networkType"`

	/* 接入网络ip (Optional) */
	ExtranetIp string `json:"extranetIp"`

	/* 网络服务提供商 (Optional) */
	Isp string `json:"isp"`

	/* 网络接入城市 (Optional) */
	City string `json:"city"`

	/* 网络接入省份 (Optional) */
	Province string `json:"province"`

	/* 网络接入国家 (Optional) */
	Country string `json:"country"`

	/* 状态 1-在线 2-离线 (Optional) */
	Status int `json:"status"`

	/* 加入时间 (Optional) */
	JoinTime string `json:"joinTime"`

	/* 离开时间 (Optional) */
	LeaveTime string `json:"leaveTime"`
}

type RoomUserRecordInfoContents added in v1.65.0

type RoomUserRecordInfoContents struct {

	/* 当前页码 (Optional) */
	PageNumber int `json:"pageNumber"`

	/* 每页数量 (Optional) */
	PageSize int `json:"pageSize"`

	/* 查询总数 (Optional) */
	TotalElements int `json:"totalElements"`

	/* 总页数 (Optional) */
	TotalPages int `json:"totalPages"`

	/* 分页内容 (Optional) */
	Content []RoomUserRecordInfoContent `json:"content"`
}

type RoomUsersNumInfoObj added in v1.56.0

type RoomUsersNumInfoObj struct {

	/* appId (Optional) */
	AppId string `json:"appId"`

	/* 用户定义的房间号 (Optional) */
	UserRoomId string `json:"userRoomId"`

	/* 在线人数 (Optional) */
	OnlineNumber int `json:"onlineNumber"`

	/* 离线人数 (Optional) */
	OfflineNumber int `json:"offlineNumber"`

	/* 合计人数 (Optional) */
	Total int `json:"total"`
}

type SipDomain added in v1.65.0

type SipDomain struct {

	/* JRTC应用ID (Optional) */
	AppId string `json:"appId"`

	/* SIP域地址 (Optional) */
	Domain string `json:"domain"`

	/* SIP用户(设备)ID (Optional) */
	SipUserId string `json:"sipUserId"`

	/* 密码 (Optional) */
	Passwd string `json:"passwd"`

	/* 创建时间 (Optional) */
	CreateTime string `json:"createTime"`

	/* 更新时间 (Optional) */
	UpdateTime string `json:"updateTime"`
}

type SipUserInfo added in v1.65.0

type SipUserInfo struct {

	/* JRTC应用ID (Optional) */
	AppId string `json:"appId"`

	/* SIP域地址 (Optional) */
	Domain string `json:"domain"`

	/* SIP用户(设备)ID (Optional) */
	SipUserId string `json:"sipUserId"`

	/* 密码 (Optional) */
	Passwd string `json:"passwd"`

	/* 创建时间 (Optional) */
	CreateTime string `json:"createTime"`

	/* 更新时间 (Optional) */
	UpdateTime string `json:"updateTime"`
}

type SipUserInfos added in v1.65.0

type SipUserInfos struct {

	/* 当前页码 (Optional) */
	PageNumber int `json:"pageNumber"`

	/* 每页数量 (Optional) */
	PageSize int `json:"pageSize"`

	/* 查询总数 (Optional) */
	TotalElements int `json:"totalElements"`

	/* 总页数 (Optional) */
	TotalPages int `json:"totalPages"`

	/* SIP用户(设备)信息 (Optional) */
	Content []SipUserInfo `json:"content"`
}

type StartAsrTask added in v1.56.0

type StartAsrTask struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 业务接入方定义的且在JRTC系统内注册过的房间号 (Optional) */
	UserRoomId string `json:"userRoomId"`

	/* 语音任务类型 0-转写 1-翻译; asrTaskType =0 Subtitle不生效;asrTaskType =1 Subtitle.enableTranslate=true(转写+翻译)Subtitle.enableTranslate=false(只转写) (Optional) */
	AsrTaskType int `json:"asrTaskType"`

	/* ai模型 (Optional) */
	AiModel string `json:"aiModel"`

	/* 附加参数 (Optional) */
	ExtInfo string `json:"extInfo"`

	/* 字幕配置 (Optional) */
	Subtitle Subtitle `json:"subtitle"`
}

type StartAsrTaskResult added in v1.65.0

type StartAsrTaskResult struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 业务接入方定义的且在JRTC系统内注册过的房间号 (Optional) */
	UserRoomId string `json:"userRoomId"`

	/* 语音识别场景 0-全部识别转文字 (Optional) */
	AsrTaskType int `json:"asrTaskType"`

	/* 房间类型
	1-小房间(音频单流订阅)
	2-大房间(音频固定订阅)
	创建时未指定,默认为控制台APP对应的房间类型
	 (Optional) */
	RoomType int `json:"roomType"`
}

type StartMcuTranscode added in v1.56.0

type StartMcuTranscode struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 业务接入方定义的且在JRTC系统内注册过的房间号 (Optional) */
	UserRoomId string `json:"userRoomId"`

	/* 布局模板 1-九宫格 2-左右屏幕分享 3-上下屏幕分享 4-画中画 (Optional) */
	LayoutTemplate int `json:"layoutTemplate"`

	/* 主人员userId (Optional) */
	MainUserId string `json:"mainUserId"`

	/* 1:摄像头  2:屏幕分享 (Optional) */
	MainVideoStreamType int `json:"mainVideoStreamType"`

	/* 是否显示音频图标 0:不显示  1:显示 (Optional) */
	ShowAudioIcon int `json:"showAudioIcon"`

	/* 是否显示昵称  0:不显示  1:显示 (Optional) */
	ShowNickName int `json:"showNickName"`

	/* 输出类型 1:录制 2:旁路转推 (Optional) */
	OutputType int `json:"outputType"`

	/* 输出录制文件的名称 (Optional) */
	OutputName string `json:"outputName"`

	/* 输出录制文件的格式:mp4、flv、m3u8;为空时默认m3u8。 (Optional) */
	OutputRecordFormat string `json:"outputRecordFormat"`

	/* 转推直播地址(outputType=2生效) (Optional) */
	PushLiveUrl string `json:"pushLiveUrl"`

	/* 参与混流人员参数;为空时,默认使用房间参会人进行混流 (Optional) */
	McuUserInfos []McuUser `json:"mcuUserInfos"`

	/* 输出格式 (Optional) */
	OutputEncode OutputEncode `json:"outputEncode"`

	/* 水印信息 (Optional) */
	WaterMarkInfo WaterMarkInfo `json:"waterMarkInfo"`
}

type StartMcuTranscodeResp added in v1.65.0

type StartMcuTranscodeResp struct {

	/* 混流任务ID (Optional) */
	TaskId string `json:"taskId"`
}

type StopAsrTask added in v1.56.0

type StopAsrTask struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 业务接入方定义的且在JRTC系统内注册过的房间号 (Optional) */
	UserRoomId string `json:"userRoomId"`

	/* 语音任务类型 0-转写 1-翻译 (Optional) */
	AsrTaskType int `json:"asrTaskType"`
}

type StopMcuTranscode added in v1.56.0

type StopMcuTranscode struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 业务接入方定义的且在JRTC系统内注册过的房间号 (Optional) */
	UserRoomId string `json:"userRoomId"`

	/* 混流任务ID (Optional) */
	TaskId string `json:"taskId"`
}

type StreamBitRate added in v1.56.0

type StreamBitRate struct {

	/* 时间戳-毫秒 (Optional) */
	Date int64 `json:"date"`

	/* 码率 (Optional) */
	Bitrate int64 `json:"bitrate"`
}

type StreamInfo added in v1.56.0

type StreamInfo struct {

	/* appId (Optional) */
	AppId string `json:"appId"`

	/* 业务接入方定义的且在JRTC系统内注册过的房间号 (Optional) */
	UserRoomId string `json:"userRoomId"`

	/* 用户注册时使用的房间名称 (Optional) */
	RoomName string `json:"roomName"`

	/* 业务接入方用户体系定义的且在JRTC系统内注册过的userId (Optional) */
	UserId string `json:"userId"`

	/* 用户注册时使用的用户名称 (Optional) */
	UserName string `json:"userName"`

	/* 用户加入房间时使用的昵称 (Optional) */
	NickName string `json:"nickName"`

	/* 流ID (Optional) */
	StreamId string `json:"streamId"`

	/* 流名称 (Optional) */
	StreamName string `json:"streamName"`

	/* 流类型 1-音频流; 2-视频流; 100-数据流 (Optional) */
	Kind int `json:"kind"`

	/* 流状态 1-在线; 2-离线 (Optional) */
	Status int `json:"status"`

	/* 标识推流设备类型 1-FrontCamera; 2-BackCamera; 3-ScreenCapturer; 4-FileVideo (Optional) */
	DeviceType int `json:"deviceType"`

	/* 推流次数 (Optional) */
	PublishCount int `json:"publishCount"`

	/* 推流时间 (Optional) */
	PublishTime string `json:"publishTime"`

	/* 流创建时间(第一次推流时间) (Optional) */
	CreateTime string `json:"createTime"`
}

type StreamRecordContent added in v1.56.0

type StreamRecordContent struct {

	/* 当前页码 (Optional) */
	PageNumber int `json:"pageNumber"`

	/* 每页数量 (Optional) */
	PageSize int `json:"pageSize"`

	/* 查询总数 (Optional) */
	TotalElements int `json:"totalElements"`

	/* 总页数 (Optional) */
	TotalPages int `json:"totalPages"`

	/* 推流历史记录列表 (Optional) */
	Content []StreamRecordInfo `json:"content"`
}

type StreamRecordInfo added in v1.56.0

type StreamRecordInfo struct {

	/* appId (Optional) */
	AppId string `json:"appId"`

	/* 业务接入方定义的且在JRTC系统内注册过的房间号 (Optional) */
	UserRoomId string `json:"userRoomId"`

	/* 用户注册时使用的房间名称 (Optional) */
	RoomName string `json:"roomName"`

	/* 业务接入方用户体系定义的且在JRTC系统内注册过的userId (Optional) */
	UserId string `json:"userId"`

	/* 用户注册时使用的用户名称 (Optional) */
	UserName string `json:"userName"`

	/* 用户加入房间时使用的昵称 (Optional) */
	NickName string `json:"nickName"`

	/* 流ID (Optional) */
	StreamId string `json:"streamId"`

	/* 流名称 (Optional) */
	StreamName string `json:"streamName"`

	/* 流类型 1-音频流; 2-视频流; 100-数据流 (Optional) */
	Kind int `json:"kind"`

	/* 流状态 1-在线; 2-离线 (Optional) */
	Status int `json:"status"`

	/* 流创建时间(第一次推流时间) (Optional) */
	CreateTime string `json:"createTime"`

	/* 推流状态更新时间 (Optional) */
	UpdateTime string `json:"updateTime"`
}

type Subtitle added in v1.65.0

type Subtitle struct {

	/* 是否开启翻译 true-转写+翻译 false-只转写 默认false (Optional) */
	EnableTranslate *bool `json:"enableTranslate"`

	/* 源语言 支持["cn","en"],默认cn (Optional) */
	SourceLang *string `json:"sourceLang"`

	/* 支持["cn","en","de","ja","ko"],默认en (Optional) */
	TargetLang *string `json:"targetLang"`
}

type TokenInfo added in v1.56.0

type TokenInfo struct {

	/* appId (Optional) */
	AppId string `json:"appId"`

	/* appKey (Optional) */
	AppKey string `json:"appKey"`

	/* 业务接入方用户体系定义的且在JRTC系统内注册过的userId (Optional) */
	UserId string `json:"userId"`

	/* 业务接入方定义的且在JRTC系统内注册过的房间号 (Optional) */
	UserRoomId string `json:"userRoomId"`

	/* 随机令牌 (Optional) */
	Nonce string `json:"nonce"`

	/* 时间戳-毫秒 (Optional) */
	Timestamp int64 `json:"timestamp"`

	/* token (Optional) */
	Token string `json:"token"`

	/* 是否可用(true-可用,false-不可用) (Optional) */
	Available bool `json:"available"`
}

type UpdatePushStreamConfigReqObj added in v1.56.0

type UpdatePushStreamConfigReqObj struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 转推类型  1-全局自动 2-指定流转推 (Optional) */
	PushType int `json:"pushType"`

	/* 推流域名 (Optional) */
	PushDomain string `json:"pushDomain"`
}

type UpdateRecordConfigReqObj added in v1.56.0

type UpdateRecordConfigReqObj struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 录制类型 1-全局录制 2-指定录制 (Optional) */
	RecordType int `json:"recordType"`

	/* 存储位置 (Optional) */
	Bucket string `json:"bucket"`

	/* 录制文件类型 (Optional) */
	FileType string `json:"fileType"`

	/* 回调地址 (Optional) */
	CallbackUrl string `json:"callbackUrl"`

	/* 回调token (Optional) */
	CallbackToken string `json:"callbackToken"`
}

type UpdateRoomRequestObj added in v1.52.0

type UpdateRoomRequestObj struct {

	/* 房间ID (Optional) */
	RoomId int64 `json:"roomId"`

	/* 房间名称 (Optional) */
	RoomName string `json:"roomName"`
}

type UpdateRoomUserNicknameObj added in v1.65.0

type UpdateRoomUserNicknameObj struct {

	/* 业务接入方定义的且在JRTC系统内注册过的房间号 (Optional) */
	UserRoomId string `json:"userRoomId"`

	/* 业务接入方用户体系定义的且在JRTC系统内注册过的userId (Optional) */
	UserId string `json:"userId"`

	/* 昵称 (Optional) */
	NickName string `json:"nickName"`
}

type UpdateUserRoomRequestObj added in v1.56.0

type UpdateUserRoomRequestObj struct {

	/* 用户房间号 (Optional) */
	UserRoomId string `json:"userRoomId"`

	/* 房间名称 (Optional) */
	RoomName string `json:"roomName"`

	/* 房间类型 1-小房间;2-大房间 (Optional) */
	RoomType int `json:"roomType"`
}

type UserIdRequest added in v1.65.0

type UserIdRequest struct {

	/* UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2023-09-05T07:00:00Z (Optional) */
	StartTime string `json:"startTime"`

	/* UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2023-09-07T08:00:00Z (Optional) */
	EndTime string `json:"endTime"`

	/* 业务接入方定义的且在JRTC系统内注册过的房间号 (Optional) */
	UserRoomId string `json:"userRoomId"`

	/* 业务接入方定义的且在JRTC系统内注册过userId列表,最多支持20个userId (Optional) */
	UserIds []string `json:"userIds"`
}

type UserInfoObj added in v1.56.0

type UserInfoObj struct {

	/* 用户ID (Optional) */
	PeerId int64 `json:"peerId"`

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 业务接入方的用户ID (Optional) */
	UserId string `json:"userId"`

	/* 是否临时用户 (Optional) */
	Temporary bool `json:"temporary"`

	/* 创建时间 (Optional) */
	CreateTime string `json:"createTime"`
}

type UserMetricDatapoints added in v1.65.0

type UserMetricDatapoints struct {

	/* 业务接入方定义的且在JRTC系统内注册过userId (Optional) */
	UserId string `json:"userId"`

	/* 用户指标数据集 (Optional) */
	Content []MetricDatapoints `json:"content"`
}

type UserMetricsReq added in v1.65.0

type UserMetricsReq struct {

	/* UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2023-12-31T10:00:00Z (Optional) */
	StartTime string `json:"startTime"`

	/* UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2023-12-31T11:00:00Z (Optional) */
	EndTime string `json:"endTime"`

	/* 查询数据的间隔粒度,支持 15s 30s 1m 5m 10m (Optional) */
	Interval string `json:"interval"`

	/* 业务接入方定义的且在JRTC系统内注册过的房间号 (Optional) */
	UserRoomId string `json:"userRoomId"`

	/* 业务接入方定义的且在JRTC系统内注册过userId (Optional) */
	UserId string `json:"userId"`

	/* 支持的metricType:Network,Audio,Video,Screen,System (Optional) */
	MetricType string `json:"metricType"`

	/* 指标名称列表,每个metricType下支持的指标名称如下,可以指定一个或多个指标名称
	<b>Network</b>
	- `NetDelay`: 网络延时
	- `DownlinkPacketLoss`: 下行网络丢包
	- `DownlinkBandwidth`: 下行网络带宽
	- `UplinkPacketLoss`: 上行网络丢包
	- `UplinkBandwidth`: 上行网络带宽
	<b>Audio</b>
	- `UplinkAudioBitRate`: 上行音频码率
	- `UplinkAudioDelay`: 上行音频延时
	- `UplinkAudioJitter`: 上行音频抖动
	- `UplinkAudioLevel`: 上行音量大小
	- `DownlinkAudioBitRate`: 下行音频码率
	- `DownlinkAudioDelay`: 下行音频延时
	- `DownlinkAudioJitter`: 下行音频抖动
	- `DownlinkAudioLevel`: 下行音量大小
	<b>Video</b>:
	- `UplinkVideoBitRate`: 上行视频码率
	- `UplinkVideoFrameRate`: 上行视频帧率
	- `UplinkVideoResolution`: 上行视频分辨率
	- `UplinkVideoDelay`: 上行视频延时
	- `UplinkVideoJitter`: 上行视频抖动
	- `DownlinkVideoBitRate`: 下行视频码率
	- `DownlinkVideoDelay`: 下行视频延时
	- `DownlinkVideoJitter`: 下行视频抖动
	- `DownlinkVideoBitRate`: 下行视频码率
	- `DownlinkVideoFrameRate`: 下行视频帧率
	- `DownlinkVideoResolution`: 下行视频分辨率
	- `DownlinkVideoDelay`: 下行视频延时
	- `DownlinkVideoJitter`: 下行视频抖动
	<b>Screen</b>:
	- `UplinkScreenBitRate`: 上行共享屏幕视频码率
	- `UplinkScreenFrameRate`: 上行共享屏幕视频帧率
	- `UplinkScreenResolution`: 上行共享屏幕视频分辨率
	- `UplinkScreenDelay`: 上行共享屏幕视频延时
	- `UplinkScreenJitter`: 上行共享屏幕视频抖动
	- `DownlinkScreenBitRate`: 下行共享屏幕视频码率
	- `DownlinkScreenDelay`: 下行共享屏幕视频延时
	- `DownlinkScreenJitter`: 下行共享屏幕视频抖动
	- `DownlinkScreenBitRate`: 下行共享屏幕视频码率
	- `DownlinkScreenFrameRate`: 下行共享屏幕视频帧率
	- `DownlinkScreenResolution`: 下行共享屏幕视频分辨率
	- `DownlinkScreenDelay`: 下行共享屏幕视频延时
	- `DownlinkScreenJitter`: 下行共享屏幕视频抖动
	<b>System</b>
	- `AppCpuUtilization`: app的cpu占用率
	- `SystemCpuUtilization`: 系统的cpu占用率
	- `AppMemUtilization`: app的内存占用
	 (Optional) */
	MetricNames []string `json:"metricNames"`
}

type UserNumInfo added in v1.56.0

type UserNumInfo struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 应用名称 (Optional) */
	AppName string `json:"appName"`

	/* 业务接入方定义的且在JRTC系统内注册过的房间号 (Optional) */
	UserRoomId string `json:"userRoomId"`

	/* 房间在线人数 (Optional) */
	Number int `json:"number"`

	/* 持续时长-minute (Optional) */
	Duration int64 `json:"duration"`

	/* 创建时间UTC (Optional) */
	CreateTime string `json:"createTime"`
}

type UserOnlineNumInfo added in v1.56.0

type UserOnlineNumInfo struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 房间ID (Optional) */
	RoomId int64 `json:"roomId"`

	/* 房间在线人数 (Optional) */
	Number int `json:"number"`

	/* 创建时间UTC (Optional) */
	CreateTime string `json:"createTime"`
}

type UserRoomInfoObj added in v1.56.0

type UserRoomInfoObj struct {

	/* jrtc系统房间号 (Optional) */
	RoomId int64 `json:"roomId"`

	/* 业务接入方定义的且在JRTC系统内注册过的房间号 (Optional) */
	UserRoomId string `json:"userRoomId"`

	/* 房间名称 (Optional) */
	RoomName string `json:"roomName"`

	/* 房间类型 1-小房间(音频单流订阅) 2-大房间(音频固定订阅) (Optional) */
	RoomType int `json:"roomType"`

	/* appId (Optional) */
	AppId string `json:"appId"`

	/* 创建时间 (Optional) */
	CreateTime string `json:"createTime"`

	/* 更新时间 (Optional) */
	UpdateTime string `json:"updateTime"`
}

type UserRoomInfosObj added in v1.56.0

type UserRoomInfosObj struct {

	/* 当前页码 (Optional) */
	PageNumber int `json:"pageNumber"`

	/* 每页数量 (Optional) */
	PageSize int `json:"pageSize"`

	/* 查询总数 (Optional) */
	TotalElements int `json:"totalElements"`

	/* 总页数 (Optional) */
	TotalPages int `json:"totalPages"`

	/* 分页内容 (Optional) */
	Content []UserRoomInfoObj `json:"content"`
}

type UsersMetricsReq added in v1.65.0

type UsersMetricsReq struct {

	/* UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2023-12-31T10:00:00Z (Optional) */
	StartTime string `json:"startTime"`

	/* UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2023-12-31T11:00:00Z (Optional) */
	EndTime string `json:"endTime"`

	/* 查询数据的间隔粒度,支持 15s 30s 1m 5m 10m (Optional) */
	Interval string `json:"interval"`

	/* 业务接入方定义的且在JRTC系统内注册过的房间号 (Optional) */
	UserRoomId string `json:"userRoomId"`

	/* 业务接入方定义的且在JRTC系统内注册过userId列表,最多支持20个userId (Optional) */
	UserIds []string `json:"userIds"`

	/* 支持的metricType:Network,Audio,Video,Screen,System (Optional) */
	MetricType string `json:"metricType"`

	/* 指标名称列表,每个metricType下支持的指标名称如下,可以指定一个或多个指标名称
	<b>Network</b>
	- `NetDelay`: 网络延时
	- `DownlinkPacketLoss`: 下行网络丢包
	- `DownlinkBandwidth`: 下行网络带宽
	- `UplinkPacketLoss`: 上行网络丢包
	- `UplinkBandwidth`: 上行网络带宽
	<b>Audio</b>
	- `UplinkAudioBitRate`: 上行音频码率
	- `UplinkAudioDelay`: 上行音频延时
	- `UplinkAudioJitter`: 上行音频抖动
	- `UplinkAudioLevel`: 上行音量大小
	- `DownlinkAudioBitRate`: 下行音频码率
	- `DownlinkAudioDelay`: 下行音频延时
	- `DownlinkAudioJitter`: 下行音频抖动
	- `DownlinkAudioLevel`: 下行音量大小
	<b>Video</b>:
	- `UplinkVideoBitRate`: 上行视频码率
	- `UplinkVideoFrameRate`: 上行视频帧率
	- `UplinkVideoResolution`: 上行视频分辨率
	- `UplinkVideoDelay`: 上行视频延时
	- `UplinkVideoJitter`: 上行视频抖动
	- `DownlinkVideoBitRate`: 下行视频码率
	- `DownlinkVideoDelay`: 下行视频延时
	- `DownlinkVideoJitter`: 下行视频抖动
	- `DownlinkVideoBitRate`: 下行视频码率
	- `DownlinkVideoFrameRate`: 下行视频帧率
	- `DownlinkVideoResolution`: 下行视频分辨率
	- `DownlinkVideoDelay`: 下行视频延时
	- `DownlinkVideoJitter`: 下行视频抖动
	<b>Screen</b>:
	- `UplinkScreenBitRate`: 上行共享屏幕视频码率
	- `UplinkScreenFrameRate`: 上行共享屏幕视频帧率
	- `UplinkScreenResolution`: 上行共享屏幕视频分辨率
	- `UplinkScreenDelay`: 上行共享屏幕视频延时
	- `UplinkScreenJitter`: 上行共享屏幕视频抖动
	- `DownlinkScreenBitRate`: 下行共享屏幕视频码率
	- `DownlinkScreenDelay`: 下行共享屏幕视频延时
	- `DownlinkScreenJitter`: 下行共享屏幕视频抖动
	- `DownlinkScreenBitRate`: 下行共享屏幕视频码率
	- `DownlinkScreenFrameRate`: 下行共享屏幕视频帧率
	- `DownlinkScreenResolution`: 下行共享屏幕视频分辨率
	- `DownlinkScreenDelay`: 下行视频延时
	- `DownlinkScreenJitter`: 下行视频抖动
	<b>System</b>
	- `AppCpuUtilization`: app的cpu占用率
	- `SystemCpuUtilization`: 系统的cpu占用率
	- `AppMemUtilization`: app的内存占用
	 (Optional) */
	MetricNames []string `json:"metricNames"`
}

type Utilization added in v1.65.0

type Utilization struct {

	/* 业务接入方用户体系定义的且在JRTC系统内注册过的userId (Optional) */
	UserId string `json:"userId"`

	/* 时间戳-毫秒 (Optional) */
	Date int64 `json:"date"`

	/* 平均使用率 (Optional) */
	AvgRate float64 `json:"avgRate"`

	/* 最大使用率 (Optional) */
	MaxRate float64 `json:"maxRate"`
}

type ValidateTokenInfo added in v1.56.0

type ValidateTokenInfo struct {

	/* appId (Optional) */
	AppId string `json:"appId"`

	/* appKey (Optional) */
	AppKey string `json:"appKey"`

	/* 业务接入方用户体系定义的且在JRTC系统内注册过的userId (Optional) */
	UserId string `json:"userId"`

	/* 业务接入方定义的且在JRTC系统内注册过的房间号 (Optional) */
	UserRoomId string `json:"userRoomId"`

	/* 随机令牌 (Optional) */
	Nonce string `json:"nonce"`

	/* 时间戳-毫秒 (Optional) */
	Timestamp int64 `json:"timestamp"`

	/* token (Optional) */
	Token string `json:"token"`
}

type WaterMarkInfo added in v1.65.0

type WaterMarkInfo struct {

	/* 水印 (Optional) */
	WaterMarkText *string `json:"waterMarkText"`

	/* 水印类型 1:明水印+暗水印 2:暗水印;默认值 1 (Optional) */
	WaterMarkType *int `json:"waterMarkType"`
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL