Skip to content

Releases: josepacelli/hikvision-capture-emulation

v1.0.0

09 Feb 14:17

Choose a tag to compare

Release Notes

New Features

  • Image Generation Endpoint: Added a new endpoint /api/snapshot.cgi to generate and serve random images with overlay text.
  • Configurable Delay: Introduced a configurable delay for simulating network latency.
  • Error Simulation: Added functionality to simulate server overload and invalid JPEG errors.

Improvements

  • Duplicate Request Handling: Implemented a mechanism to detect and handle duplicate requests.
  • Background Cleanup: Added a background thread to clean up old duplicate request entries.

Dependencies

  • Updated dependencies in requirements.txt:
    • fastapi
    • pillow
    • uvicorn

Bug Fixes

  • Fixed various minor bugs and improved overall stability.

Notes

  • Ensure the FONT_PATH is correctly set to a valid font file on your system.
  • The .gitignore file has been updated to include common Python and project-specific files.