Documentation
¶
Index ¶
- type AbnormalEventInfo
- type AccessNetinfo
- type AddMcuFocusUsers
- type AddPushStreamConfigReqObj
- type AddPushStreamRuleObj
- type AddRecordConfigReqObj
- type AddRecordRuleObj
- type AddSipMcuFocusUsers
- type AppConentObject
- type AppInfoObject
- type AppKeyInfoObject
- type AudioLevel
- type BaseDataOverview
- type BitRate
- type CallDuration
- type CallDurationByCodeRate
- type CheckAuthInfo
- type CloseRoomUserStreamObj
- type CreateAppRequestObject
- type CreateRoomRequestObj
- type CreateTokenInfo
- type CreateUserRequestObj
- type CreateUserResultObj
- type ExternalSipCallReq
- type Filter
- type FrameRate
- type GenerateTokenAuthInfo
- type ImMessage
- type ImMessageRecords
- type InternalNetinfo
- type JRTCAuthInfo
- type Jitter
- type LiveDomainObj
- type McuUser
- type MessageToRoom
- type MessageToRoomUser
- type MessageToUser
- type MessageToUserRoom
- type MetricDatapoints
- type ModifyAppNameRequestObject
- type ModifyAppRequestObject
- type ModifyAppStatusRequestObject
- type NetDelay
- type NotifyConfigObj
- type NotifyConfigRequestObj
- type OutputEncode
- type PacketLoss
- type PushStreamConfigInfo
- type PushStreamRule
- type PushStreamUserId
- type RecordBucketObj
- type RecordConfigInfo
- type RecordInfoObj
- type RecordRule
- type RegisterSipUserReq
- type RegisterUserInfoObj
- type RegisterUserInfosObj
- type RegisterUserRequestObj
- type RegisterUserResultObj
- type RegisterUserRoomRequestObj
- type RemoveAllRoomUsersObj
- type RemoveMcuFocusUsers
- type RemoveRoomUsersInfo
- type RemoveRoomUsersObj
- type RemoveSipMcuFocusUsers
- type Resolution
- type RoomConcurrency
- type RoomInfoObj
- type RoomInfosObj
- type RoomRecordInfosObj
- type RoomStreamContent
- type RoomUserEventInfo
- type RoomUserInfoObj
- type RoomUserInfosObj
- type RoomUserNumInfos
- type RoomUserRecord
- type RoomUserRecordInfo
- type RoomUserRecordInfoContent
- type RoomUserRecordInfoContents
- type RoomUsersNumInfoObj
- type SipDomain
- type SipUserInfo
- type SipUserInfos
- type StartAsrTask
- type StartAsrTaskResult
- type StartMcuTranscode
- type StartMcuTranscodeResp
- type StopAsrTask
- type StopMcuTranscode
- type StreamBitRate
- type StreamInfo
- type StreamRecordContent
- type StreamRecordInfo
- type Subtitle
- type TokenInfo
- type UpdatePushStreamConfigReqObj
- type UpdateRecordConfigReqObj
- type UpdateRoomRequestObj
- type UpdateRoomUserNicknameObj
- type UpdateUserRoomRequestObj
- type UserIdRequest
- type UserInfoObj
- type UserMetricDatapoints
- type UserMetricsReq
- type UserNumInfo
- type UserOnlineNumInfo
- type UserRoomInfoObj
- type UserRoomInfosObj
- type UsersMetricsReq
- type Utilization
- type ValidateTokenInfo
- type WaterMarkInfo
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 AddPushStreamConfigReqObj ¶ added in v1.56.0
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 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 AudioLevel ¶ added in v1.65.0
type BaseDataOverview ¶ added in v1.56.0
type CallDuration ¶ added in v1.56.0
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 CreateAppRequestObject ¶
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 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 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 LiveDomainObj ¶ added in v1.56.0
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 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 MessageToUserRoom ¶ added in v1.56.0
type MetricDatapoints ¶ added in v1.65.0
type ModifyAppRequestObject ¶ added in v1.56.0
type NotifyConfigObj ¶ added in v1.56.0
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 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 PushStreamUserId ¶ added in v1.56.0
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 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 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 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 RemoveSipMcuFocusUsers ¶ added in v1.65.0
type Resolution ¶ added in v1.65.0
type RoomConcurrency ¶ added in v1.65.0
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 StopMcuTranscode ¶ added in v1.56.0
type StreamBitRate ¶ added in v1.56.0
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 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 UpdateRoomUserNicknameObj ¶ added in v1.65.0
type UpdateUserRoomRequestObj ¶ added in v1.56.0
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 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 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
Source Files
¶
- AbnormalEventInfo.go
- AccessNetinfo.go
- AddMcuFocusUsers.go
- AddPushStreamConfigReqObj.go
- AddPushStreamRuleObj.go
- AddRecordConfigReqObj.go
- AddRecordRuleObj.go
- AddSipMcuFocusUsers.go
- AppConentObject.go
- AppInfoObject.go
- AppKeyInfoObject.go
- AudioLevel.go
- BaseDataOverview.go
- BitRate.go
- CallDuration.go
- CallDurationByCodeRate.go
- CheckAuthInfo.go
- CloseRoomUserStreamObj.go
- CreateAppRequestObject.go
- CreateRoomRequestObj.go
- CreateTokenInfo.go
- CreateUserRequestObj.go
- CreateUserResultObj.go
- ExternalSipCallReq.go
- Filter.go
- FrameRate.go
- GenerateTokenAuthInfo.go
- ImMessage.go
- ImMessageRecords.go
- InternalNetinfo.go
- JRTCAuthInfo.go
- Jitter.go
- LiveDomainObj.go
- McuUser.go
- MessageToRoom.go
- MessageToRoomUser.go
- MessageToUser.go
- MessageToUserRoom.go
- MetricDatapoints.go
- ModifyAppNameRequestObject.go
- ModifyAppRequestObject.go
- ModifyAppStatusRequestObject.go
- NetDelay.go
- NotifyConfigObj.go
- NotifyConfigRequestObj.go
- OutputEncode.go
- PacketLoss.go
- PushStreamConfigInfo.go
- PushStreamRule.go
- PushStreamUserId.go
- RecordBucketObj.go
- RecordConfigInfo.go
- RecordInfoObj.go
- RecordRule.go
- RegisterSipUserReq.go
- RegisterUserInfoObj.go
- RegisterUserInfosObj.go
- RegisterUserRequestObj.go
- RegisterUserResultObj.go
- RegisterUserRoomRequestObj.go
- RemoveAllRoomUsersObj.go
- RemoveMcuFocusUsers.go
- RemoveRoomUsersInfo.go
- RemoveRoomUsersObj.go
- RemoveSipMcuFocusUsers.go
- Resolution.go
- RoomConcurrency.go
- RoomInfoObj.go
- RoomInfosObj.go
- RoomRecordInfosObj.go
- RoomStreamContent.go
- RoomUserEventInfo.go
- RoomUserInfoObj.go
- RoomUserInfosObj.go
- RoomUserNumInfos.go
- RoomUserRecord.go
- RoomUserRecordInfo.go
- RoomUserRecordInfoContent.go
- RoomUserRecordInfoContents.go
- RoomUsersNumInfoObj.go
- SipDomain.go
- SipUserInfo.go
- SipUserInfos.go
- StartAsrTask.go
- StartAsrTaskResult.go
- StartMcuTranscode.go
- StartMcuTranscodeResp.go
- StopAsrTask.go
- StopMcuTranscode.go
- StreamBitRate.go
- StreamInfo.go
- StreamRecordContent.go
- StreamRecordInfo.go
- Subtitle.go
- TokenInfo.go
- UpdatePushStreamConfigReqObj.go
- UpdateRecordConfigReqObj.go
- UpdateRoomRequestObj.go
- UpdateRoomUserNicknameObj.go
- UpdateUserRoomRequestObj.go
- UserIdRequest.go
- UserInfoObj.go
- UserMetricDatapoints.go
- UserMetricsReq.go
- UserNumInfo.go
- UserOnlineNumInfo.go
- UserRoomInfoObj.go
- UserRoomInfosObj.go
- UsersMetricsReq.go
- Utilization.go
- ValidateTokenInfo.go
- WaterMarkInfo.go
Click to show internal directories.
Click to hide internal directories.