Add : RTSP audio/video with back channel, and auth

- cam_stream: shared JPEG feed for /pic, /stream and RTSP; RTSP server
  (port 554, TCP) with MJPEG video, G.711 mic audio and an ONVIF-style
  back channel to the speaker
- cam_auth: RTSP Digest login and HTTP Basic / ?key= check on all endpoints
- Mic task feeds HTTP and RTSP with a sticky channel choice
This commit is contained in:
2026-10-08 14:12:48 +03:30
parent 00278119b6
commit 72a2d714ab
13 changed files with 1398 additions and 175 deletions
+3 -1
View File
@@ -7,6 +7,7 @@
#include <esp_log.h>
#include <esp_system.h>
#include "esp_http_server.h"
#include "cam_auth.h"
// support IDF 5.x
#ifndef portTICK_RATE_MS
@@ -26,4 +27,5 @@ void start_wifi_and_server(void);
void start_audio_server(void);
void start_camera_server(void);
void wifi_start_provisioning_if_needed(void);
bool wifi_wait_connected(uint32_t timeout_ms);
bool wifi_wait_connected(uint32_t timeout_ms);
void rtsp_speaker_sink(const int16_t *pcm, size_t samples);