I'm looking for a solution to send a video stream from a USB camera connected to an ESP-32-S3 to an rtsp-simple-server. https://github.com/aler9/rtsp-simple-server
There are many solutions to transform an ESP into a server but I want the ESP to be a client. It will have to stream the video stream from the camera to a server. Unfortunately I don't know how to do that.
Dev env:
Hardware:
Thank you in advance for your ideas!
I found an alternative to solve my problem:
The ESPs will be RTSP servers, there will be an rtsp-simple-server in proxy mode to link each ESP on a local server. I will make an API using FFMPEG which will restream on the target RTSP server with this command:
ffmpeg -rtsp_transport tcp -i "rtsp://ip_proxy_rtsp:8554/mystream1" -rtsp_transport tcp -c:v libx264 -c:a copy -f rtsp rtsp://ip_server_rtsp_target/mystream2
This way I would just have to call an endpoint of my API to stream an ESP to a remote RTSP server