This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
http_qcom [2023/05/08 16:10] suresh |
http_qcom [2023/05/11 21:17] (current) johnw [SetIp] |
||
|---|---|---|---|
| Line 807: | Line 807: | ||
| Save camera-related settings below. | Save camera-related settings below. | ||
| - | === zoom_direct_value === | + | === zoom_direct_value === |
| Description: Set camera zoom | Description: Set camera zoom | ||
| Line 856: | Line 856: | ||
| Possible values: auto, manual | Possible values: auto, manual | ||
| - | ==== SetIp ==== | ||
| - | === local_ip === | ||
| - | IPv4 adresss | ||
| - | === local_netmask === | + | ==== SetIp ==== |
| + | ---- | ||
| - | IPv4 netmask | + | Control networking settings of the Z3 device such as local IPv4 IP address, netmask, etc. |
| + | Additionally control Encoder Auto-Start after boot-up and enable/disable showing of advanced WebUI settings. | ||
| - | === default_gw === | + | \\ |
| - | IPv4 default gateway | + | == Parameters: == |
| + | ---- | ||
| + | **//do_autostart//** | ||
| + | Control automatic stream start after bootup. | ||
| + | Possible values: 1 = do autostart 0 = do not autostart. | ||
| - | === local_dnsip === | + | **//enc_adv_setting//** |
| + | Control appearance of advanced settings on WebUI. | ||
| + | Possible values: off, on. | ||
| - | DNS server primary | + | **//ipmtu//** |
| + | Control Ethernet IP Maximum Transmission Unit (MTU) size in bytes. | ||
| + | Possible values: 576 to 1500. | ||
| - | === local dnsip2 === | + | **//eth_speed//** |
| + | Control Gigabit Ethernet auto-negotiation allowed speeds. | ||
| + | Possible values: AUTO, AUTO-100, 1000, 100, 10. | ||
| - | DNS server secondary | + | **//eth_duplex//** |
| + | Control Ethernet auto-negotiation allowed duplex. | ||
| + | Possible values: AUTO, FULL, HALF. | ||
| - | === use_dhcp === | + | **//local_ip//** |
| + | IPv4 address. | ||
| - | Controls use of DHCP or static IP | + | **//local_netmask//** |
| + | IPv4 netmask. | ||
| - | Possible values: 1 (DHCP enabled), 0 (DHCP disabled, use static IP) | + | **//default_gw//** |
| + | IPv4 default gateway. | ||
| - | === do_autostart === | + | **//local_dnsip//** |
| + | DNS server primary. | ||
| - | Control automatic stream start after bootup | + | **//local_dnsip2//** |
| + | DNS server secondary. | ||
| - | Possible values: 1 = do autostart 0 = do not autostart | + | **//use_dhcp//** |
| + | Controls use of DHCP or static IP. | ||
| + | Possible values: 1 (DHCP enabled), 0 (DHCP disabled, use static IP). | ||
| - | === enc_adv_setting === | + | **//local_hostname//** |
| + | Network hostname. | ||
| - | Control appearance of advanced settings on WebUI | + | \\ |
| + | == Returns: == | ||
| + | ---- | ||
| + | JSON formatted table with values below | ||
| - | Possible values: off, on | + | **//ret//** Custom return code of the HTTP POST request. 0 on success, 1 on failure. |
| - | === eth_speed === | + | **//status//** String describing the failure when **ret** is 1. "OK" on success. |
| - | + | ||
| - | Control Gigabit Ethernet auto-negotiation allowed speeds | + | |
| - | + | ||
| - | Possible values: AUTO, AUTO-100, 1000, 100, 10 | + | |
| - | + | ||
| - | === eth_duplex === | + | |
| - | + | ||
| - | Control Ethernet auto-negotiation allowed duplex | + | |
| - | + | ||
| - | Possible values: AUTO, FULL, HALF | + | |
| - | + | ||
| - | === ipmtu === | + | |
| - | + | ||
| - | Control Ethernet IP Maximum Transmission Unit (MTU) size in bytes | + | |
| - | + | ||
| - | Possible values: 576 to 1500 | + | |
| + | \\ | ||
| + | ---- | ||
| ==== SetDisplay ==== | ==== SetDisplay ==== | ||
| Line 1046: | Line 1054: | ||
| return the encoder status | return the encoder status | ||
| - | input : channel_number | + | **input** : channel_number |
| - | return value : The encoder status can be **running / couldn't deduct input on camera / idle / Stopped. ** | + | **Output ** : The encoder status can be **running / couldn't deduct input on camera / idle / Stopped. ** |
| The encoder status values are stored in this path /tmp/enc_1_status. | The encoder status values are stored in this path /tmp/enc_1_status. | ||
| Line 1054: | Line 1062: | ||
| ==== ClearHistory ==== | ==== ClearHistory ==== | ||
| - | delete decoder history | + | delete the decoder history |
| - | input : channel number | + | **input** : channel number |
| - | + | ||
| - | output : success / failure | + | |
| + | **output** : Delete the channel number from the DECODER_HISTORY_TABLE of the database | ||
| ==== AddHistory ==== | ==== AddHistory ==== | ||
| Insert decoder history in the database | Insert decoder history in the database | ||
| - | Input : channel number, URL | + | **Input** : channel number and URL |
| - | + | ||
| - | Output : Add the information in the decoder history table in the database | + | |
| + | **Output** : Add the information in the DECODER_HISTORY_TABLE in the database | ||
| ==== SetAudio ==== | ==== SetAudio ==== | ||
| Set the analog mic decibal value | Set the analog mic decibal value | ||
| - | Input : analog gain decibal value (Range -97 to 30) | + | **Input : ** |
| + | |||
| + | analog gain decibal value (Range -97 to 30) | ||
| - | Output : update audio input table in the database | + | Output : update the value in the AUDIO_INPUT_TABLE in the database |
| ==== LoadUser ==== | ==== LoadUser ==== | ||