get-settings

Use the interface to obtain the configurations of device.

HTTP Request

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

Response Body

JSON structure is as follows:

{
  "result": 0,                       // returned Status
  "name": "Ultra...",                // device name
  "passwd": 1,                       // whether a password is needed for mobile app
  "is-settings": 0,                  // whether modifications of device can be made using mobile app
  "is-ssdp": 1,                      // whether to enable UPNP
  "is-startup": 0,                   // whether to start recording and broadcasting when device is boot up
  "is-startup-rec": 1,               // whether to start recording when device is boot up
  "is-startup-live": 1,              // whether to start broadcasting when device is boot up
  "is-signal-lost": 0,               // whether to stop recording and broadcasting when signal is lost
  "is-hdmi-rec-ctrl": 0,             // whether to allow that digital cameral or other device can control the streamer to start/stop recording by the feeding HDMI signal.
  "softap": {},                      // AP configurations
  "date-time": {},                   // time zone and date
  "rec-control": {},                 // recording configurations
  "video-color": {},                 // video information
  "volume": {},                      // audio information                       
  "rec-stream": 0,                   // type of recording streams
  "live-stream": 0,                  // type of live streams
  "mws-stream": 1,                   // type of preview stream in app client
  "main-stream": {},                 // configurations of the main stream
  "sub-stream": {},                  // configurations of the sub stream
  "audio": {},                       // configurations of audio
  "eth": {},                         // Ethernet information
  "stream-server": [...]             // list of streaming servers
}

Request Body:

{
  "result": 0,
  "name": "Ultra Stream C301181214002",
  "passwd": 1,
  "is-settings": 0,
  "is-ssdp": 1,
  "is-startup-rec": 1,
  "is-startup-live": 1,
  "is-signal-lost": 0,
  "is-hdmi-rec-ctrl": 0,
  "softap": {
    "is-softap": 1,
    "is-visible": 1,
    "softap-ssid": "C301181214002",
    "softap-passwd": "81214002"
  },
  "date-time": {
    "timezone": "UTC",
    "is-auto": 1
  },
  "rec-control": {
    "mime-type": 0,
    "usb-option": 1,
    "sd-option": 1,
    "root-folder": "REC_Folder",
    "file-prefix": "VID",
    "time-unit": 5
  },
  "video-color": {
    "contrast": 100,
    "brightness": 0,
    "saturation": 100,
    "hue": 0
  },
  "volume": {
    "is-mic": 1,
    "mic-gain": 0,
    "is-spi": 1,
    "spi-gain": 0,
    "is-phone": 1,
    "phone-gain": 0
  },
  "rec-stream": 0,
  "live-stream": 0,
  "mws-stream": 1,
  "main-stream": {
    "is-auto": 0,
    "codec": 0,
    "cx": 1920,
    "cy": 1080,
    "duration": 166667,
    "kbps": 4096,
    "gop": 1,
    "fourcc": 0,
    "profile": 2,
    "cbrstat": 60,
    "fullrange": 0
  },
  "sub-stream": {
    "cx": 1024,
    "cy": 768,
    "duration": 333333,
    "kbps": 1024,
    "gop": 1,
    "fourcc": 0,
    "profile": 2,
    "cbrstat": 60,
    "fullrange": 1
  },
  "audio": {
    "sample-rate": 48000,
    "channels": 2,
    "kbps": 128
  },
  "eth": {
    "is-dhcp": 1,
    "ip": "",
    "mask": "",
    "router": "",
    "dns": ""
  },
  "stream-server": [
    {
      "id": 0,
      "type": 0,
      "url": "192.168.1.123:345/live",
      "key": "aa",
      "is-auth": 0,
      "user": "",
      "passwd": "",
      "is-use": 0,
      "token": "",
      "net-mode": 1,
      "name": "192.168.1.123"
    }
  ]
}

results matching ""

    No results matching ""

    results matching ""

      No results matching ""