I am using
VSCODE
ESP-IDF v5.4.
ESP-ADF v2.7.
I want to use the KORVO board as an RTSP server. I want to connect via VLC from the PC.
The example starts correctly, configures the camera and, from the console, I can start the RTP server.
Code: Select all
(2340) camera: Detected OV2640 camera
I (2340) camera: Camera PID=0x26 VER=0x42 MIDL=0x7f MIDH=0xa2
I (2413) cam_hal: buffer_size: 16384, half_buffer_size: 1024, node_buffer_size: 1024, node_cnt: 16, total_cnt: 20
I (2413) cam_hal: Allocating 20480 Byte frame buffer in PSRAM
I (2417) cam_hal: Allocating 20480 Byte frame buffer in PSRAM
I (2423) s3 ll_cam: b+++
I (2425) cam_hal: cam config ok
I (2428) ov2640: Set PLL: clk_2x: 0, clk_div: 0, pclk_auto: 0, pclk_div: 8
I (2506) ESP_RTSP_Demo: [ 3 ] Initialize console command
n (2506) CONSOLE: Command history enabled
Type 'help' to get the list of commands.
Use UP/DOWN arrows to navigate through command history.
Press TAB when typing command name to auto-complete.
Your terminal application does not support escape sequences.
Line editing and history features are disabled.
On Windows, try using Putty instead.
esp32s3> I (3018) main_task: Returned from app_main()
esp32s3> start 0 rtsp://129.168.1.18:554/live
I (31998) ESP_RTSP_SERVER: esp_rtsp ver: 1.1.0 compile date: Sep 27 2024-03:07:26
I (32000) ESP_RTSP_SERVER: RTSP server task started URL: rtsp://192.168.1.18:8554
esp32s3> I (37252) ESP_RTSP_SERVER: RTSP Client ip address: 192.168.1.16
I (37264) ESP_RTSP_SERVER: RX:
The "cam_task" task is correctly installed and waiting for a CAM_VSYNC_EVENT.
Code: Select all
static void cam_task(void *arg)
{
int cnt = 0;
int frame_pos = 0;
cam_obj->state = CAM_STATE_IDLE;
cam_event_t cam_event = 0;
xQueueReset(cam_obj->event_queue);
while (1) {
xQueueReceive(cam_obj->event_queue, (void *)&cam_event, portMAX_DELAY);Can anyone help me understand how it should be triggered and whether I have made any mistakes in the configuration?