You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@
3
3
4
4
Application for ESP32 / ESP32S3 with OV2640 / OV5640 camera to record JPEGs to SD card as AVI files and playback to browser as an MJPEG stream. The AVI format allows recordings to replay at correct frame rate on media players. If a microphone is installed then a WAV file is also created and stored in the AVI file.
5
5
The application supports:
6
+
*[RTSP Server](#rtsp) stream Video, Audio and Subtitles
6
7
*[Motion detection by camera](#motion-detection-by-camera) or PIR / radar sensor
7
8
* Time lapse recording
8
9
*[Audio Recording](#audio-recording) from I2S or PDM microphones
@@ -29,7 +30,7 @@ To suggest an improvement or enhancement use Discussions.***
29
30
30
31
Changes up to version 10.5.4:
31
32
* Stream to [NVR](#stream-to-nvr) using integration to RTSPServer library contributed by [@rjsachse](https://github.com/rjsachse).
32
-
* RTSP server now has multiple client support as well as user/pass authentication
33
+
* RTSP server now has multiple client support as well as user/pass authentication.
33
34
* Frame resolution selection mismatch corrected due to [#10801](https://github.com/espressif/arduino-esp32/issues/10801) in arduino core v3.1.0
34
35
* SD card 4 bit mode configurable (see `utilsFS.cpp`)
35
36
* Shared I2C fixed following code changes in Arduino core v3.1.1
@@ -454,7 +455,7 @@ Streaming performance depends on quality of network connection, but can be incre
454
455
455
456
#### RTSP
456
457
457
-
This requires an additional library to be installed - see [RTSPServer](https://github.com/rjsachse/ESP32-RTSPServer) library for details. Must be version 1.3.0 or above
458
+
This requires an additional library to be installed - see [RTSPServer](https://github.com/rjsachse/ESP32-RTSPServer) library for details. Must be version 1.3.1 or above
458
459
459
460
To integrate library with this app, set `#define INCLUDE_RTSP` to `true`.
rtspServer.setCredentials(rtspUser, rtspPassword); // Set RTSP authentication
133
+
useAuth = rtspServer.setCredentials(RTSP_Name, RTSP_Pass); // Set RTSP authentication
133
134
RTSPServer::TransportType transport = determineTransportType();
134
135
rtpIp.fromString(RTP_ip);
135
136
rtspServer.transport = transport;
@@ -147,7 +148,7 @@ void prepRTSP() {
147
148
if (transport != RTSPServer::NONE) {
148
149
if (rtspServer.init()) {
149
150
LOG_INF("RTSP server started successfully with transport%s", transportStr);
150
-
strlen(rtspUser) ?
151
+
useAuth ?
151
152
LOG_INF("Connect to: rtsp://<username>:<password>@%s:%d (credentials not shown for security reasons)", WiFi.localIP().toString().c_str(), rtspServer.rtspPort) :
152
153
LOG_INF("Connect to: rtsp://%s:%d", WiFi.localIP().toString().c_str(), rtspServer.rtspPort);
0 commit comments