get-app-settings
Use the interface to obtain APP related settings.
Request Mode
POST http://ip/mwapi/get-app-settings
Response Body
{
"status": 0,
"pairingMode": 0,
"pairingEnable": 0,
"pairingCode": "",
"isLogged": 0,
"ssdp-port": 1900,
"control-port": 9000,
"stream-port": 9110,
"encodeMode": 0,
"resolution": "1280x720",
"duration": 333333,
"video-bitrate": 2048,
"observerCount": 0,
"observerLocked": false,
"observerAnnotateEnable": true
}
Name | Description |
---|---|
status | 0 indicates a successful data acquisition. Refer to API Status Codes to find specific description for other values. |
pairingMode | The login mode. 0: Free login 1: Password to login 2: Pairing to login |
pairingEnable | Whether Pairing to login is enabled. 0: No 1: Yes |
pairingCode | The pairing code in plain text |
encodeMode | The encoding mode of APP preview scene.0: SD, 720p 1: HD, 1080p 2: Auto 3: Customized |
resolution | The resolution |
duration | The frame rate |
video-bitrate | The video bitrate |
ssdp-port | The SSDP port |
control-port | The TCP control port |
stream-port | The SRT streaming port |
observerCount | The number of watchers. 0: Null 1: One watcher 2: Two watchers |
observerLocked | Lock the scene that watcher can view. true: Lock, false: Not lock |
observerAnnotateEnable | Allow the watcher to annotate. true: Allow, false: Not allow |