models

package
v1.56.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 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 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 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 BaseDataOverview added in v1.56.0

type BaseDataOverview struct {

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

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

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 {

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

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

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

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

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

	/* (720p,1080p]通讯时长-second (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"`

	/* 是否临时用户 (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 Filter

type Filter struct {

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

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

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

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 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 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"`
}

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 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 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"`

	/* 音频采样率 (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 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 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 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"`

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

type RegisterUserResultObj added in v1.56.0

type RegisterUserResultObj struct {

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

	/* 业务接入方的用户ID (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 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 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 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 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 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 StartAsrTask added in v1.56.0

type StartAsrTask struct {

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

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

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

type StartMcuTranscode added in v1.56.0

type StartMcuTranscode struct {

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

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

	/* 布局模板-支持参数1 (Optional) */
	LayoutTemplate int `json:"layoutTemplate"`

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

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

	/* 输出名称 (Optional) */
	OutputName string `json:"outputName"`

	/* 参与混流人员参数 (Optional) */
	McuUserInfos []McuUser `json:"mcuUserInfos"`

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

type StopAsrTask added in v1.56.0

type StopAsrTask struct {

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

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

	/* 语音识别场景 0-全部识别转文字 (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"`
}

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 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 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 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 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 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"`
}

Source Files

Jump to

Keyboard shortcuts

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