Refactored code to resize JPEG snapshot if "h" parameter exists in the URL query

This commit is contained in:
Sergey Krashevich
2023-07-11 10:35:53 +03:00
parent b5d40caffc
commit 490a48cd50
3 changed files with 25 additions and 5 deletions
+1
View File
@@ -892,6 +892,7 @@ API examples:
- MJPEG stream: `http://192.168.1.123:1984/api/stream.mjpeg?src=camera1`
- JPEG snapshots: `http://192.168.1.123:1984/api/frame.jpeg?src=camera1`
- JPEG snapshot resized to 100px: `http://192.168.1.123:1984/api/frame.jpeg?src=camera1&h=100`
### Module: Log