Update README (implemented methods), add more getters

This commit is contained in:
Karl Moos
2020-10-27 18:53:09 -05:00
parent bef4f8d5fd
commit c8eb387cd1
11 changed files with 284 additions and 24 deletions

View File

@@ -0,0 +1,42 @@
[
{
"cmd": "GetNetPort",
"code": 0,
"initial": {
"NetPort": {
"httpPort": 80,
"httpsPort": 443,
"mediaPort": 9000,
"onvifPort": 8000,
"rtmpPort": 1935,
"rtspPort": 554
}
},
"range": {
"NetPort": {
"httpPort": { "max": 65535, "min": 1 },
"httpsPort": { "max": 65535, "min": 1 },
"mediaPort": { "max": 65535, "min": 1 },
"onvifPort": { "max": 65535, "min": 1 },
"rtmpPort": { "max": 65535, "min": 1 },
"rtspPort": { "max": 65535, "min": 1 }
}
},
"value": {
"NetPort": {
"httpPort": 80,
"httpsPort": 443,
"mediaPort": 9000,
"onvifPort": 8000,
"rtmpPort": 1935,
"rtspPort": 554
}
}
},
{ "cmd": "GetUpnp", "code": 0, "value": { "Upnp": { "enable": 0 } } },
{
"cmd": "GetP2p",
"code": 0,
"value": { "P2p": { "enable": 0, "uid": "99999999999999" } }
}
]