-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with RTSP Streaming #122
Comments
Hi Kiran, Does the camera on the esp32-cam initialize properly? |
Hi @rzeldent, thanks for reaching out! I'm not quite sure if it's initialized properly; HTTP streaming works perfectly, so I'm assuming it is? |
Yes, if HTTP streaming is working the camera is certainly initialized... Try using some more conservative settings like a lower framerate (40ms) and a lower jpeg quality. Not sure but 100f/s is a bit too much.. |
Did you resolve it ? |
I think I have meet the same problem~ |
I think this might be good thread to comment about my learnings with esp32cam-rtsp. Hopefully this will help somebody like me who had experienced issues streaming from the device. Sorry for lenghty post. So, my setup is that I currently have two esp32-cams. One is monitoring my backyard and another front door. For both I'm using two Wemos D1's since those are there handy and supplying needed 5V. I'm using Scrypted to feed Apple Homekit's security cams. For the backyard one it's located very near to my wifi router and its wifi quality is excellent. The Wemos D1 (which supplies power to esp32-cam) was powered from Airport Extreme USB port which was also powering my air quality sensor (Ikea one). When I changed Wemos D1 to be powered from another device USB output (Eufy Homebase 2), the stream started working immediately (less than 1 second wait time). (With the previous setup I also had one problem so that after 30 days uptime connection to RTSP port 554 was constantly refused while all other operations were working properly before reboot. I haven't been able to reproduce this yet, but let's see if this continues with the new setup.) For the front door one I had severe issues, the device didn't even power up properly. I used to power it via another Wemos D1 which was powered from Airport Express USB port. When I changed the power source to USB charger, I was able to access it. However, it had very poor network quality which might have been caused due to some gorilla tape and iron wire I used to mount the device. I didn't have energy to start changing the mounting, so I added one wifi extender (for some reason esp32-cam didn't connect to Aiport Express wifi even though it was set up as extending the wifi network, it always connected to my main Airport Extreme) near it and that did the trick. The network quality is not yet excellent even though the extender is very near to esp32-cam and stream doesn't start immediately and sometimes timeouts (but not that often). What I'm planning is to setup better antenna to my front door device. The soldering of using external antenna doesn't seem so easy (https://randomnerdtutorials.com/esp32-cam-connect-external-antenna/), but maybe following this one would be worth trying: https://marksbench.com/electronics/esp32-cam-antenna-workaround/. I might be also changing power supply to be real 5V since in my setup Wemos D1 is supplying just a little more than 4.8V (but it seems to be still okay for esp32-cam). TL;DR: Make sure that your power source gives 5V to the device. Check the wifi quality and consider using external antenna if quality could be better. |
Similar to #98, except RTSP streaming doesn't work in my case. I get the following errors:
and
Here's the aforementioned [debug] log:
Here are the specs:
ESP32
Diagnostics
Network
Camera
The text was updated successfully, but these errors were encountered: