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
-4
View File
@@ -6,24 +6,20 @@
#include "esp_camera.h"
#include "custom_io_expander_ch32v003.h"
// --- پین‌های I2C ---
#define BSP_I2C_NUM 0
#define BSP_I2C_SCL (GPIO_NUM_7)
#define BSP_I2C_SDA (GPIO_NUM_8)
// --- آدرس اکسپندر ---
#define BSP_IO_EXPANDER_I2C_ADDRESS_CH32V003 (CUSTOM_IO_EXPANDER_I2C_CH32V003_ADDRESS)
#ifdef __cplusplus
extern "C" {
#endif
// --- توابع I2C ---
esp_err_t bsp_i2c_init(void);
esp_err_t bsp_i2c_deinit(void);
i2c_master_bus_handle_t bsp_i2c_get_handle(void);
// --- توابع IO Expander ---
esp_err_t bsp_io_expander_init(void);
esp_io_expander_handle_t bsp_get_io_expander_handle(void);
uint16_t bsp_get_io_expander_adc(void);