• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

(esp32) freenove board not streaming on wan

Q&A Forum › Category: Other › (esp32) freenove board not streaming on wan
0 Vote Up Vote Down
Larry Freeze asked 2 years ago

Please help,
 I implemented the pan tilt sketch found here:
//  https://gist.github.com/sarasantos/1518a2d137ef7c0500ebdbb4154c81b0/revisions
The sketch works as expected with the AITHINKER board .  I am able to stream video
On my local network (LAN) and the  global network (WAN)..
When I use the freenove board (#define CAMERA_MODEL_WROVER_KIT),
I can stream only on the LAN, When I connect to the WAN I get the text only,
No video stream.  
Thank you
Larry

8 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi.
Do you get any other errors?
If you open the JavaScript console on the web browser, what errors do you get?
Regards,
Sara

0 Vote Up Vote Down
Larry Freeze answered 2 years ago

 
Thank you for the prompt response, here are javascript console results
console
Failed to load resource: net::ERR_CONNECTION_REFUSED
:8030/favicon.ico:1     Failed to load resource: the server responded with a status of 404 (Not Found)
 
 
Issues

  1. Page layout may be unexpected due to Quirks Mode
    1. One or more documents in this page is in Quirks Mode, which will render the affected document(s) with quirks incompatible with the current HTML and CSS specifications.

Quirks Mode exists mostly due to historical reasons. If this is not intentional, you can add or modify the DOCTYPE to be `<!DOCTYPE html>` to render the page in No Quirks Mode.

  1. AFFECTED RESOURCES
    1. 1 element
      1.  

Document in the DOM tree

Mode

URL

document

Quirks Mode

http://24.xxxx.144:8030/

 
 

0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi.
I don’t think that error is causing the issue because it’s only related to the layout.
To be honest, I’m not sure exactly what might be causing the issue.
How are you setting access via WLAN?
Usually, when the video doesn’t render on the web page it’s because the wi-fi signal is not good and the camera cannot stream properly. But, it can be caused by many other different issues.
 
Regards,
Sara

0 Vote Up Vote Down
Larry Freeze answered 2 years ago

Hi Sara,
 
I am accessing the WAN by changing this line in the sketch: // config.server_port = 80;
To this: config.server_port = 8020;
 Then I add the port forward in my router.I know the forwarding is okay because I can access the text for pan tilt but get no video stream on the WAN.
 
I  did some more testing, and found that when I load the arduino example sketch “CameraWebServer”, on the freenove board, I can stream video on the LAN and WAN
Without problem.  It look like the issue may be in the firmware of the freenove board,. The Combination of text, and streaming video refuses to work on the freenove board, but
Has no problem on the ai_thinker board.
 
Unless you can suggest a solution, I think I will abandon the freenove board and use only
The Ai_thinker boards.
Thanks
 
Regards
Larry
.

0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi.
Unfortunately, I don’t have an explanation for that issue.
I usually don’t use port forward in our projects. So, I’m not sure exactly what might be causing the issue.
I’m sorry that I can’t help much.
Regards,
Sara

0 Vote Up Vote Down
Larry Freeze answered 2 years ago

Thanks for trying, I will continue my search for a solution, and post if i find one
Larry

0 Vote Up Vote Down
Larry Freeze answered 2 years ago

Hi Sara
 
I think if found a work around for my problem. Perhaps it will help others.
Apparently the html portion of the sketch   //  https://gist.github.com/sarasantos/1518a2d137ef7c0500ebdbb4154c81b0/revisions  or the camera   is not compatible with Network Address Translation (NAT).. In order to overcome this I made the LAN port associated with the
Sketch (camera) the default dmz port on my router. (netgear)
The sketch now works properly, and I can stream video on my LAN and WAN
Without problem. I am not skilled enough to determine what the issue with the sketch/camera is, but I am Happy with the result.
 
 
This is what I found on my search
 
The Default DMZ server feature is helpful when you are using some online games and video conferencing applications that are incompatible with Network Address Translation (NAT). The router is programmed to recognize some of these applications and to work correctly with them, but other applications might not function well. In some cases, one local computer can run the application correctly if the IP address for that computer is entered as the default DMZ server.
 
Regards
Larry

0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi again.
Thank you for sharing the solution. They might be useful for others in the future.
I’m glad everything is working as expected now.
Regards,
Sara
 

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.