Skip to content

Commit

Permalink
* (@GermanBluefox) Completely rewritten to TypeScript
Browse files Browse the repository at this point in the history
* (@GermanBluefox) Added Ezviz cameras
  • Loading branch information
GermanBluefox committed Feb 4, 2025
1 parent 3a4e033 commit 939aa16
Show file tree
Hide file tree
Showing 55 changed files with 3,214 additions and 313 deletions.
22 changes: 21 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,29 @@ This is URL request for image, where all parameters are in URL, but you can prov

### FFmpeg
If you want to access snapshots on RTSP cameras, you can use ffmpeg. You need to install ffmpeg on your system:
- Windows has precompiled ffmpeg and there is no need to download anything. (Windows version is taken from here: https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-full.7z)
- Windows has precompiled ffmpeg and there is no need to download anything. (Windows version is taken from here: https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-full.7z)
- Linux: `sudo apt-get install ffmpeg -y`

How to update the windows version of `ffmpeg`:
- Download file https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-full.7z
- Extract `bin/ffmpeg.exe`
- Rename `ffmpeg.exe` to `win-ffmpeg.exe`
- Zip `win-ffmpeg.exe` to `win-ffmpeg.zip`
- Place `win-ffmpeg.zip` in the root of this repository
- Execute `win-ffmpeg.exe --version` to get the version and save it into `main.ts` `WIN_FFMPEG_VERSION` constant (like `2025-02-02-git-957eb2323a-full_build-www.gyan.dev`)

Here is an example of how to add Reolink E1:

![rtsp](img/rtsp.png)

### Ezviz - How to re-enable RTSP for EZVIZ cameras
For some reason, EZVIZ decided to disable RTSP for their cameras:
- Open EZVIZ App and go to: Profile / Settings / Lan Live View
- Start scanning and then Select Camera:
- Login with your camera password (the default password is on the camera sticker)
- Press the Settings icon and select Local Service Settings
- Enable RTSP

## How to add a new camera (For developers)
To add a new camera, you must create a Pull Request on GitHub with the following changes:
- Add a new file into `cameras` folder. This is a backend to read the single image from the camera.
Expand All @@ -71,6 +87,10 @@ To add a new camera, you must create a Pull Request on GitHub with the following
-->

## Changelog
### **WORK IN PROGRESS**
* (@GermanBluefox) Completely rewritten in TypeScript
* (@GermanBluefox) Added Ezviz cameras

### 2.1.2 (2024-07-15)
* (bluefox) Updated packages

Expand Down
4 changes: 2 additions & 2 deletions build/cameras/EufyCamera.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/cameras/EufyCamera.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 9 additions & 5 deletions build/cameras/Factory.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/cameras/Factory.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 6 additions & 4 deletions build/cameras/GenericRtspCamera.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 939aa16

Please sign in to comment.