mirror of
https://github.com/rzeldent/esp32cam-rtsp.git
synced 2025-11-15 20:48:00 +00:00
Update README.md
This commit is contained in:
43
README.md
43
README.md
@@ -5,21 +5,24 @@
|
|||||||
Simple [RTSP](https://en.wikipedia.org/wiki/Real_Time_Streaming_Protocol) server.
|
Simple [RTSP](https://en.wikipedia.org/wiki/Real_Time_Streaming_Protocol) server.
|
||||||
Easy configuration through the web interface.
|
Easy configuration through the web interface.
|
||||||
|
|
||||||
Flashing this software on a esp32cam module will make it a **RTSP streaming camera** server.
|
Flashing this software on a ESP32CAM module will make it a **RTSP streaming camera** server.
|
||||||
This allows CCTV systems and applications like **VLC** to connect directly to the ESP32CAM camera stream.
|
The RTSP protocol is an industry standard and allows many CCTV systems and applications (like for example [VLC](https://www.videolan.org/vlc/)) to connect directly to the ESP32CAM camera stream.
|
||||||
The RTSP protocol also allows to stream directly to a server using **ffmpeg**.
|
It is also possible to to stream directly to a server using [ffmpeg](https://ffmpeg.org).
|
||||||
This makes the module a camera server allowing **recording** and so the stream can be **stored on a disk** and replayed later.
|
This makes the module a camera server allowing recording and the stream can be stored on a disk and replayed later.
|
||||||
|
|
||||||
This software supports the following ESP32-CAM modules:
|
This software supports the following ESP32-CAM (and alike) modules:
|
||||||
- ESP32CAM
|
- ESP32CAM
|
||||||
- AI THINKER
|
- AI THINKER
|
||||||
- TTGO T-CAM
|
- TTGO T-CAM
|
||||||
|
- WROVER-KIT
|
||||||
|
- M5STACK
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
This software provides a **configuration web server**, that can be used to:
|
This software provides a **configuration web server**, that can be used to:
|
||||||
|
- Provide information about the state of the device, wifi connection and camera,
|
||||||
- Set the WiFi parameters,
|
- Set the WiFi parameters,
|
||||||
- Set the timeout for connecting to the Access point,
|
- Set the timeout for connecting to the access point,
|
||||||
- Set an access password,
|
- Set an access password,
|
||||||
- Select the board type,
|
- Select the board type,
|
||||||
- Select the image size,
|
- Select the image size,
|
||||||
@@ -28,17 +31,19 @@ This software provides a **configuration web server**, that can be used to:
|
|||||||
- Select the JPEG quality
|
- Select the JPEG quality
|
||||||
|
|
||||||
The software provides contains also a mDNS server to be easily discoverable on the local network.
|
The software provides contains also a mDNS server to be easily discoverable on the local network.
|
||||||
|
It advertises HTTP (port 80) and RTSP (port 554)
|
||||||
|
|
||||||
## Required
|
## Required
|
||||||
|
|
||||||
- ESP32-CAM module
|
- ESP32-CAM module or similar,
|
||||||
- USB to Serial (TTL level) converter or the piggyback board ESP32-CAM-MB
|
- USB to Serial (TTL level) converter, piggyback board ESP32-CAM-MB or other way to connect to the device,
|
||||||
- [**PlatformIO**](https://platformio.org/) software (free download)
|
- [**PlatformIO**](https://platformio.org/) software (free download)
|
||||||
|
|
||||||
## Installing and running PlatformIO
|
## Installing and running PlatformIO
|
||||||
|
PlatformIO is available for all major operating systems: Windows, Linux and MacOS. It is also provided as a plugin to [Visual Studio Code](https://visualstudio.microsoft.com).
|
||||||
More information can be found at: [https://docs.platformio.org/en/latest/installation.html](https://docs.platformio.org/en/latest/installation.html) below the basics.
|
More information can be found at: [https://docs.platformio.org/en/latest/installation.html](https://docs.platformio.org/en/latest/installation.html) below the basics.
|
||||||
|
|
||||||
### Debian based systems command-line
|
### Debian based systems command-line install
|
||||||
Install platformIO
|
Install platformIO
|
||||||
```
|
```
|
||||||
sudo apt-get install python-pip
|
sudo apt-get install python-pip
|
||||||
@@ -46,7 +51,7 @@ Install platformIO
|
|||||||
pio upgrade
|
pio upgrade
|
||||||
```
|
```
|
||||||
|
|
||||||
### Windows / Linux and Mac
|
### Windows, Linux and MacOS
|
||||||
Install [**Visual Studio code**](https://code.visualstudio.com) and install the PlatformIO plugin.
|
Install [**Visual Studio code**](https://code.visualstudio.com) and install the PlatformIO plugin.
|
||||||
For command line usage Python and PlatformIO-Core is sufficient.
|
For command line usage Python and PlatformIO-Core is sufficient.
|
||||||
|
|
||||||
@@ -77,7 +82,8 @@ cd esp32cam-rtsp
|
|||||||
```
|
```
|
||||||
|
|
||||||
Next, the firmware has to be build and deployed to the ESP32.
|
Next, the firmware has to be build and deployed to the ESP32.
|
||||||
There are to flavours to do this; using the command line or the graphical interface of Visual Studio Code. I recommend to use VIsual Studio Code as it is free to use and offers more insight.
|
There are to flavours to do this; using the command line or the graphical interface of Visual Studio Code.
|
||||||
|
I recommend to use VIsual Studio Code as it is free to use and offers more insight.
|
||||||
|
|
||||||
### Using the command line
|
### Using the command line
|
||||||
|
|
||||||
@@ -131,7 +137,7 @@ Here it is possible to reboot the device so the settings take effect.
|
|||||||
It is also possible to restart manually by pressing the reset button.
|
It is also possible to restart manually by pressing the reset button.
|
||||||
|
|
||||||
## Connecting to the configuration
|
## Connecting to the configuration
|
||||||
After the initial configuration and the device is connected to an Access point, the device can be configured over http.
|
After the initial configuration and the device is connected to an access point, the device can be configured over http.
|
||||||
|
|
||||||
When a connection is made to [http://esp32cam-rtsp](http://esp32cam-rtsp) the status screen is shown.
|
When a connection is made to [http://esp32cam-rtsp](http://esp32cam-rtsp) the status screen is shown.
|
||||||
|
|
||||||
@@ -148,14 +154,19 @@ This link can be opened with for example [VLC](https://www.videolan.org/vlc/).
|
|||||||
|
|
||||||
:warning: **Please be aware that there is no password present on the stream!**
|
:warning: **Please be aware that there is no password present on the stream!**
|
||||||
|
|
||||||
## Issues observed
|
## Issues / Nice to know
|
||||||
|
- Sometimes after configuration a reboot is required. If the error screen is shown that it is unable to make a connection, first try to reboot the device,
|
||||||
|
- When booting, the device waits 30 seconds for a connection (configurable). You can make a connection to the SSID and log in using the crdentials below,
|
||||||
|
- When connected, go to the ip of the device and, when prompted for the credentials, enter 'admin' and the AP password. This field is **required** before saving the credentials,
|
||||||
|
- When the password is lost, a fix is to completely erase the ESP32 using the ```pio run -t erase``` command. This will reset the device including configuration. However, reflashing of the firmware is required.
|
||||||
|
- When finished configuring for the first time and the access point is entered, disconnect from the wireless network provided by the device. This should reset the device and connect to the access point. Resetting is also a good alternative...
|
||||||
|
|
||||||
### Power
|
### Power
|
||||||
Make sure the power is 5 volts and stable.
|
Make sure the power is 5 volts and stable. If not, it has been reported that restarts occur when starting up.
|
||||||
|
|
||||||
### PSRAM
|
### PSRAM
|
||||||
Some esp32cam modules have additional ram on the board. This allows to use this ram as frame buffer.
|
Some esp32cam modules have additional ram on the board. This allows to use this ram as frame buffer.
|
||||||
|
Detecting and using this special RAM is handled automatically. The availability of PSRAM can be seen in the HTML status overview.
|
||||||
|
|
||||||
## Credits
|
## Credits
|
||||||
esp32cam-ready depends on PlatformIO, Bootstap5 and Micro-RTSP by Kevin Hester.
|
esp32cam-ready depends on PlatformIO, Bootstap5 and Micro-RTSP by Kevin Hester.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user