get-webcam-config
Use the interface to get the configuration information of the Webcam video source.
Request Mode
GET http://ip/mwapi?method=get-webcam-config
Parameter | Description |
---|---|
method | get-webcam-config |
Response Body
{
"status": 0,
"device-name": "Logical HD Camera",
"formats": [
{
"fourcc": "NV12",
"resolutions": [
{
"width": 1920,
"height": 1080,
"fps": 6000
},
{
"width": 1280,
"height": 720,
"fps": 3000
}
]
}
]
"out-mirror": false,
}
Name | Description |
---|---|
status | 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values. |
device-name | The device name |
formats | The format list |
out-mirror | Whether to mirror the output scene If yes, it shows true; otherwise, it is false. |