Appearance
获取支持的分辨率 1.5.0
方法名
getSupportedSizeList
用法
示例
js
if (this.$refs.refLevenUvcCamera) {
this.$refs.refLevenUvcCamera.getSupportedSizeList(res => {
this.writeLog(JSON.stringify(res))
})
}参数说明
无
回调
示例
json
{
"message": "",
"code": 0,
"data": {
"list": [
{
"type": 7,
"fps": 30,
"height": 720,
"width": 1280,
"fpsList": [
30
]
},
{
"type": 7,
"fps": 30,
"height": 120,
"width": 160,
"fpsList": [
30
]
},
{
"type": 7,
"fps": 30,
"height": 144,
"width": 176,
"fpsList": [
30
]
},
{
"type": 7,
"fps": 30,
"height": 240,
"width": 320,
"fpsList": [
30
]
},
{
"type": 7,
"fps": 30,
"height": 288,
"width": 352,
"fpsList": [
30
]
},
{
"type": 7,
"fps": 30,
"height": 480,
"width": 848,
"fpsList": [
30
]
},
{
"type": 7,
"fps": 30,
"height": 600,
"width": 800,
"fpsList": [
30
]
},
{
"type": 7,
"fps": 30,
"height": 540,
"width": 960,
"fpsList": [
30
]
},
{
"type": 7,
"fps": 30,
"height": 720,
"width": 1280,
"fpsList": [
30
]
},
{
"type": 7,
"fps": 30,
"height": 480,
"width": 640,
"fpsList": [
30
]
}
]
}
}回调说明
| 参数名 | 参数类型 | 参数描述 |
|---|---|---|
| message | String | 消息提示 |
| data | Object | 数据对象 |
| data.list | Object[] | 列表 |
| data.list.type | Integer | 类型 |
| data.list.fps | Integer | 帧率 |
| data.list.height | Integer | 高度 |
| data.list.width | Integer | 宽度 |
| data.list.fpsList | Integer[] | 帧率列表 |
| code | Integer | 返回类型,0.成功,其他:失败 |
