feat: add zoom_in and zoom_out commands to PTZ command map

note: the `API.md` said it's `zoom_in` and `zoom_out` with underscore, while the go ptzCmdMap said it's `zoomin` and `zoomout` with underscore; I choose to support both (or unify them?)
This commit is contained in:
2026-01-13 14:46:57 +08:00
parent b4474a160d
commit ffb3fc423e
2 changed files with 3 additions and 1 deletions

View File

@ -15,6 +15,8 @@ var (
"upleft": 10,
"zoomin": 16,
"zoomout": 32,
"zoom_in": 16,
"zoom_out": 32,
}
ptzSpeedMap = map[string]uint8{