有奖捉虫:办公协同&微信生态&物联网文档专题 HOT

Device

查询用户设备的授权绑定情况

被如下接口引用:GetDevices。

名称 类型 描述
DeviceId String 设备ID
注意:此字段可能返回 null,表示取不到有效值。
示例值:"xxx"
DeviceName String 设备名称
注意:此字段可能返回 null,表示取不到有效值。
示例值:"xxx"
LicenseCount Integer 已经绑定license数量
注意:此字段可能返回 null,表示取不到有效值。
示例值:2
RemainDay Integer 剩余天数:天
注意:此字段可能返回 null,表示取不到有效值。
示例值:30
ExpireTime String 过期时间:s
注意:此字段可能返回 null,表示取不到有效值。
示例值:167840945
Duration String 服务时长:s
注意:此字段可能返回 null,表示取不到有效值。
示例值:86400
LicenseIds Array of String 已经绑定licenseId列表
注意:此字段可能返回 null,表示取不到有效值。
MonthlyRemainTime Integer 每月license的限定时长
注意:此字段可能返回 null,表示取不到有效值。
示例值:66000

DeviceInfo

设备信息

被如下接口引用:DescribeDeviceList。

名称 类型 描述
DeviceId String 设备ID
示例值:“dev1”
DeviceName String 设备名称
示例值:"test device"
DeviceStatus String 设备状态,offline为离线,ready为在线准备,connected为会话中
示例值:offline
DeviceType String 设备类型,field为现场设备(受控方),remote为远端设备(操控方)
示例值:"field"
ModifyTime Timestamp ISO8601 设备信息最近修改时间
示例值:2022-03-21T08:00:00+08:00
LastReportTime Timestamp ISO8601 设备状态最近更新时间
示例值:2022-03-21T09:00:00+08:00
ProjectId String 设备所属项目Id
示例值:m82k54bp7n9rjhai

License

按授权查看的license列表

被如下接口引用:GetLicenses。

名称 类型 描述
Count Integer 该类型的license个数
注意:此字段可能返回 null,表示取不到有效值。
示例值:3
Status Integer license状态:0:未绑定;1:已绑定;2:已停服;3:已退费
注意:此字段可能返回 null,表示取不到有效值。
示例值:1
ExpireTime String 到期时间戳:s
注意:此字段可能返回 null,表示取不到有效值。
示例值:1678503945
Duration String 服务时长:s
注意:此字段可能返回 null,表示取不到有效值。
示例值:86400
RemainDay Integer 剩余天数:天
注意:此字段可能返回 null,表示取不到有效值。
示例值:30
LicenseIds Array of String 该类型的licenseId列表
注意:此字段可能返回 null,表示取不到有效值。

PolicyInfo

权限信息

被如下接口引用:DescribePolicy。

名称 类型 描述
RemoteDeviceId String 远端设备ID
示例值:"test1"
FieldDeviceIds Array of String 关联的现场设备ID
示例值:["dev1","dev2"]
ModifyTime Timestamp ISO8601 最近添加时间
示例值:2022-03-22T08:00:00+08:00

ProjectInfo

项目信息

被如下接口引用:DescribeProjectList。

名称 类型 描述
ProjectId String 项目ID
示例值:f3glr49rc96pralw
ProjectName String 项目名称
示例值:project1
ProjectDescription String 项目描述
示例值:test
PolicyMode String 项目权限模式,black为黑名单,white为白名单
示例值:black
ModifyTime Timestamp ISO8601 项目信息修改时间
示例值:2022-03-25T09:12:11+08:00

RecentSessionInfo

最新会话信息

被如下接口引用:DescribeRecentSessionList。

名称 类型 描述
SessionId String 会话ID
示例值:xxx
RemoteDeviceId String 远端设备ID
示例值:xxxxx
FieldDeviceId String 现场设备ID
示例值:xxxxx
Resolution String 分辨率
示例值:1920*1080
StartTime Integer 会话开始时间
示例值:1650000000
LatestUpdateTime Integer 最后更新时间
示例值:1650000060

SessionDeviceDetail

会话数据详单(按设备区分)

被如下接口引用:DescribeDeviceSessionDetails。

名称 类型 描述
DeviceType String 设备类型:field或remote
示例值:remote
StartTime Integer 起始点位时间,单位:秒
示例值:1650000000
EndTime Integer 结束点位时间,单位:秒
示例值:1650000100
SessionId String 会话ID
示例值:xxxx
Rate Array of Integer 码率,单位:kbps
示例值:[10,20,30]
Fps Array of Integer 帧率
示例值:[10,20,30]
Lost Array of Float 丢包率,单位:%
示例值:[10,20,30]
NetworkLatency Array of Integer 网络时延,单位:ms
示例值:[10,20,30]
VideoLatency Array of Integer 视频时延,单位:ms
示例值:[10,20,30]
CpuUsed Array of Float CPU使用率,单位:%
示例值:[10,20,30]
MemUsed Array of Float 内存使用率,单位:%
示例值:[10,20,30]
TimeOffset Array of Integer 时间偏移量,单位:秒
示例值:[0,2,4,6,8,10]
ProjectId String 项目ID
示例值:xxx
DeviceId String 设备ID
示例值:xxx
Ver String sdk版本
注意:此字段可能返回 null,表示取不到有效值。
示例值:1.4.7
SdkMode String 模式(p2p/server)
注意:此字段可能返回 null,表示取不到有效值。
示例值:server
DecodeCost Array of Integer 解码耗时,单位:ms
注意:此字段可能返回 null,表示取不到有效值。
示例值:[20,20,30]
RenderConst Array of Integer 渲染耗时,单位:ms
注意:此字段可能返回 null,表示取不到有效值。
示例值:[20,20,30]
K100 Array of Float 卡顿k100
注意:此字段可能返回 null,表示取不到有效值。
示例值:[20.12,20.25,30.16]
K150 Array of Float 卡顿k150
注意:此字段可能返回 null,表示取不到有效值。
示例值:[20.12,20.25,30.16]
NACK Array of Integer nack请求数
注意:此字段可能返回 null,表示取不到有效值。
示例值:[0,0,0]
BitRateEstimate Array of Integer 服务端调控码率,单位:kbps
注意:此字段可能返回 null,表示取不到有效值。
示例值:3000
Width Integer 宽度
注意:此字段可能返回 null,表示取不到有效值。
示例值:1280
Height Integer 高度
注意:此字段可能返回 null,表示取不到有效值。
示例值:720
EncodeCost Array of Integer 编码耗时,单位:ms
注意:此字段可能返回 null,表示取不到有效值。
示例值:[20.12,20.25,30.16]
CaptureCost Array of Integer 采集耗时,单位:ms
注意:此字段可能返回 null,表示取不到有效值。
示例值:[20.12,20.25,30.16]

SessionInfo

会话信息

被如下接口引用:DescribeDeviceSessionList。

名称 类型 描述
SessionId String 会话ID
示例值:xxx
RemoteDeviceId String 远端设备ID
示例值:xxxxx
FieldDeviceId String 现场设备ID
示例值:xxxxx
Resolution String 分辨率
示例值:1920*1080
StartTime Integer 会话开始时间
示例值:1650000000
EndTime Integer 会话结束时间
示例值:1650000060
Quality String 通话质量:good|normal|bad,对应优良差
示例值:good

SessionIntervalStatistic

单位时间间隔的会话统计数据

被如下接口引用:DescribeSessionStatisticsByInterval。

名称 类型 描述
ActiveFieldDeviceNum Integer 活跃现场设备数
示例值:10
ActiveRemoteDeviceNum Integer 活跃远端设备数
示例值:20
SessionNum Integer 会话数量
示例值:50
TotalDuration Integer 会话时长,单位:分钟
示例值:30
StartTime Integer 时间戳,单位:秒
示例值:1650000000
EndTime Integer 时间戳,单位:秒
示例值:1650000000
NotBadSessionRatio Integer 优良会话占比,单位:%
示例值:30