get-status

Use this interface to obtain the real-time running status of the device, including status of live stream, firmware update, etc.

HTTP Request

GET http://ip/usapi?method=get-status
Parameter Description
method get-status

Response Body

JSON structure is as follows:

{
  "result": 0,                     // returned status
  "cur-status": 64,                // device running status mask
  "cur-time": "2021-01-11 ...",    // device time 
  "box-name": "",                  // device name
  "sysstat": {},                   // system status
  "live-status": {                 // live stream status
    "live": []
        },
  "upgrade-status": {},            // firmware update status
  "living-test": {},               // streaming test status
  "check-upgrade": {},             // online update detecting status
  "conn-wifi": {},                 // Wi-Fi connection status
  "input-signal": {},              // input signal 
  "wifi": {},                      // Wi-Fi connection
  "softap": {},                    // AP connection
  "eth": {},                       // Ethernet connection
  "mobile": {},                    // mobile broadband connection
  "upgrade": {},                   // new firmware information
  "channel-count": 2,
  "vumeters": [
    33,
    32
    ]
}
Response Body
"result": 0
Device Running Status Mask
"cur-status": 65552

Masks vary depending on the various device running status. Refer to Device Status Masks to find specific description for each mask. The following condition is used to calculate the device running status.

  1. Referring to the Device Status Masks, when a device is updating firmware, the mask is: statusUpgrade = 0x4000.

  2. If cur-status & statusUpgrade = statusUpgrade, it indicates firmware update is in progress.

Input Signal Status
"input-signal": {
  "status": 0,
  "cx": 0,
  "cy": 0,
  "interlaced": 0,
  "frame-rate": 0.00,
  "channel-valid": 0,
  "is-lpcm": 0,
  "bits-per-sample": 0,
  "sample-rate": 0
}
Streaming Status
"live-status": {
  [
    {
      "result": 0,
      "run-ms": 0,
      "cur-bps": 0,
      "avg-bps": 0,
      "net": 0,
      "result2": 0,
      "cur-bps2": 0,
      "net2": 0,
      "client-id": ""
    }
  ]

}
Streaming Test Status
"living-test": {
  "upload-bps": 0,
  "percent": 0,
  "result": 27,
  "net": 0,
  "client-id": ""
}
Online Update Detecting Status
"check-upgrade": {
  "result": 0,
  "client-id": ""
}
New Firmware Information
"upgrade": {
  "ver": "",
  "date": "",
  "size-byte": 0,
  "info": []
}
Firmware Update Status
"upgrade-status": {
  "step": 0,
  "percent": 0,
  "result": 27,
  "client-id": "",
  "mode": "none"
}
Wi-Fi Connection
"wifi": {
  "name": "MWL1",
  "level": 0,
  "ip": "192.168.8.249",
  "mask": "255.255.255.0",
  "router": "192.168.8.1",
  "dns": "192.168.8.1"
}
Ethernet Connection
"eth": {
  "ip": "10.10.107.212",
  "mask": "255.255.0.0",
  "router": "10.10.0.1",
  "dns": "10.0.0.3"
}
Mobile Broadband Connection
"mobile": {
  "ip": "",
  "mask": "",
  "router": "",
  "dns": ""
}

results matching ""

    No results matching ""

    results matching ""

      No results matching ""