RTSP Viewer is a simple tool that allows you to view multiple RTSP (Real-Time Streaming Protocol) streams simultaneously. This tool is configured using a .env file, providing an easy and customizable way to manage multiple camera feeds.
Before using RTSP Viewer app, you must install required dependencies:
-
Clone the RTSP Viewer repository to your local machine:
git clone https://github.com/brunolemos06/RTSP-viewer.git cd RTSP-viewer -
Change .env file in the project root and configure it with your camera names and RTSP URLs:
NAMES=CAM1,CAM2 RTSP_URLS=rtsp://example1,rtsp://example2
-
Save the .env file.
-
Run the app:
python3 main.py
The configuration is done through the .env file. Open the .env file and modify the following variables:
NAMES: Names of the cameras. The names must be separated by commas.RTSP_URLS: RTSP URLs of the cameras. The URLs must be separated by commas.
If you are having trouble running the app, try the following:
- Check if the RTSP URLs are correct.
- Check if the RTSP URLs are accessible in your network.
- Verify that the .env file is correctly configured.