-
Notifications
You must be signed in to change notification settings - Fork 24
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
RTSP UDP Streaming issues #5
Comments
Put contents of file in bug so easier to see. Relative fresh install of VS & Platform.IO - only loaded a couple of instances of Tasmota & tried to compile, and did not know how. Started VS
Processing esp32cam (platform: espressif32; board: esp32cam; framework: arduino)Verbose mode can be enabled via Terminal will be reused by tasks, press any key to close it. Connected ESP32-CAM to CH340 & connected to USB.
Processing esp32cam (platform: espressif32; board: esp32cam; framework: arduino)Verbose mode can be enabled via Leaving... Terminal will be reused by tasks, press any key to close it. remove GPIO0 jumper
--- Miniterm on COM3 115200,8,N,1 --- rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) [I][wifi_provisioning.cpp:21] connect(): Connection result: 3 [I][espcam_webserver.cpp:22] begin(): Starting web server connected with web browser (wifi credentials retained from previous flashing with micro-rtsp, reset config works) ESP32CAM Issue 1: number following device name in URL is mac address with octets in reverse order. MAC of this device is 24:6f:28:16:f0:3c - Can it be made to use the MAC correctly? Serial monitor: Each option of web page works correctly, but monitor logs error after each is completed. Using VLC, streaming url opened Serial monitor: No display in VLC Serial monitor - line repeated every few minutes: Closed down VLC Serial Monitor: Previous attempts gave error messages while attempting to stream rtsp taking about being unambe to forward UDP packets - multiple occurances, but unable to duplicate while documenting this. May be related to when web server starts: Serial Monitor: |
MAC Id issue should be solved. |
ok, I pulled your revised version (MAC is right now :) )and caught the UDP error:
--- Miniterm on COM3 115200,8,N,1 --- rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) [I][wifi_provisioning.cpp:21] connect(): Connection result: 3 [I][espcam_webserver.cpp:22] begin(): Starting web server
|
monitor logs errors after redirect should be solved now. |
Regardung the UDP streaming issues. I checked what this could be and think it might have something to do with the libraries used. It might be caused by these issues:
In the logging that you send me there are no timestamps but because the stream was closed and reopened this might be plausible. See line The other errorline in the log: |
compiled your current revision, downloaded & run- including serial monitor (most): [I][wifi_provisioning.cpp:21] connect(): Connection result: 3 [I][espcam_webserver.cpp:22] begin(): Starting web server Monitor log looks better. Got the errors at the end when I clicked browser back while jpeg streaming. Looked at the 2 other issues that you attached. Immediately seemed interesting as I have a home net with wifi mesh extenders, but the esp32-cam, pc w/ VS & web browser, and tablet with VLC are all on the same subnet. I then considered that I had always tried the web control page a bit before trying the rtsp stream, so I rebooted the ESP32-cam and immediately went into VLC, and got the same messages and errors as before. Any idea what library might be an issue that I should check? |
Hi J-broyles, Strange, I cannot reproduce it. If I start the ESP32-Cam and go directly to VLC, I do not see any errors and have a fine image in VLC. Have you tried it with the PC version of VLC? I'm using 3.0.8 Vetinari? --- Miniterm on COM6 115200,8,N,1 --- [I][wifi_provisioning.cpp:21] connect(): Connection result: 3 [I][espcam_webserver.cpp:23] begin(): Starting web server |
By the way, thank you for reporting issues! |
before I got your comment, I'd looked back at the serial monitor output from my previous run, and nestled in between the udp packet errors was a warning, which I doubt has any relevance, but reporting it anyway: [E][WiFiUdp.cpp:183] endPacket(): could not send data: 12 After your comment, I loaded VLC/win v |
The warning: "warning exceeding max frame rate of 210 ms" means that the data for one image/frame is larger than can be sent. This might be caused by the strength of the WiFi connection or other infrastructure related bottlenecks. If this is the case I suggest to lower the resolution or frame rate. |
Looks like the issues are resolved or explained. Closing the issue, |
Excellent project! I'm inexperienced with PlatformIO, but have used Arduino IDE for some time. Was finally able to get the bin file made & uploaded. See the attached txt file for my issues.
rtsp.txt
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: