How to see ESP32-CAM video feed from anywhere in the world

Thread Starter

lichurbagan

Joined Jul 4, 2025
120
I have made many projects with the ESP32-CAM. To see the video feed of the ESP32-CAM in my laptop, the laptop and the ESP32-CAM must be connected to the same wifi network. Is there any way to get rid of this limitation? Suppose, the camera is running at my home but I want to see the video from my office. What should I do in this situation?
 

MrAl

Joined Jun 17, 2014
13,667
I have made many projects with the ESP32-CAM. To see the video feed of the ESP32-CAM in my laptop, the laptop and the ESP32-CAM must be connected to the same wifi network. Is there any way to get rid of this limitation? Suppose, the camera is running at my home but I want to see the video from my office. What should I do in this situation?
I think you would need some Cloud service.
 

Aswinth

Joined Nov 1, 2016
34
The video feed from your ESP32-CAM will only work in your local IP. To make it work outside your network, you can try something called port forwarding. Basically you have to change the wifi router settings to set up port forwarding and then access it outside your network. But this is not a long term solution because your when your router restarts it will get a new IP and you have to set up port forwarding again.

Your best solution is to stream to a cloud service or even to youtube or RTMP and then view it on any network. Just search in google you will find tutorials for both
 

MisterBill2

Joined Jan 23, 2018
27,164
IF you are able to program the ESP32-CAM to emulate one of the easily hacked security cameras then it should be simple. At least I guess that it is what the everything connected to the internet fad was all about. It also seems like a poor choice.
 
I have to define the static ID in my ESP32-CAM code, right? I am using arduino IDE to write my code.
He is not talking about the local IP, but about the static public IP. By default, the ISP allocates you a dynamic public IP, and it will change periodically. But if you want, they will provide you with a static IP(obviously, you have to pay extra for that) on request.

If you have purchased the static IP, you can use port forwarding to stream the ESP32 cam over the internet.
One other way is to set up a VPN server or to use a cloud service.

When looking at the cost, I would suggest you use an aftermarket IP camera.
 

alfg

Joined Aug 16, 2015
4
Use a dynamic DNS service like dyn.com and keep it updated, set a static (local) IP for ESP32-CAM and use port forwarding in your internet router.
 
Top