Problems with communication-generator-rtsp.ino example #2197
-
I successfully build the communication-generator-rtsp.ino example and flashed it on an ESP-WROOM-32. The logs: rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) [I] RTSPServer.h : 198 - Running RTSP server on port 554 [I] RTSPSession.h : 500 - RTSP received SETUP RTSP/1.0 200 OK [D] RTSPServer.h : 308 - Request handling successful [I] RTSPSession.h : 500 - RTSP received PLAY RTSP/1.0 200 OK [D] RTSPServer.h : 225 - Server thread listening... (numClients: 1) Backtrace: 0x4014cb0b:0x3ffd5090 0x40147969:0x3ffd5120 0x4017adc9:0x3ffd5230 0x4017ae25:0x3ffd5290 0x4017d309:0x3ffd52b0 0x40177b0b:0x3ffd52d0 0x4008e049:0x3ffd5300 ELF file SHA256: 23c49cbd9 Rebooting... rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
First of all, this does not work with log level debug: This is adding too much latency.
I was running down the VLC rabbit hole and found that this can't work if RTSP has not been enabled at compile time. I was testing with a VLC version that supports RTSP and I confirm that it was indeed working... |
Beta Was this translation helpful? Give feedback.
-
Thanks for your support! |
Beta Was this translation helpful? Give feedback.
First of all, this does not work with log level debug: This is adding too much latency.
I was testing with ffplay and noticed that I was running into a timeout which was set too low. I increased the timout and and it it working w/o any issues using ffmpeg now. I even increased to sample rate to 48000 and with log level Warning this also works w/o issues. Example command
I was running down the VLC rabbit hole and found that this can't work if RTSP has not been enabled at compile time.
You can double-check if it is available in Tools - Preferences.
Click on Show Settings: all
In Input / Codecs - Demuxers you must have an entry for RTP/RTSP. If this is missin…