s60sc / ESP32-CAM_MJPEG2SD

ESP32 Camera motion capture application to record JPEGs to SD card as AVI files and stream to browser as MJPEG. If a microphone is installed then a WAV file is also created. Files can be uploaded via FTP or downloaded to browser.
GNU Affero General Public License v3.0
888 stars 209 forks source link

Remote access to the stream #422

Closed matin-alizadeh closed 4 months ago

matin-alizadeh commented 5 months ago

Hi. I want to access the stream through the Internet remotely. I cannot use the port forwarding solution. Is there another way to access the stream over the internet?

rjsachse commented 5 months ago

Can you access your home network through the internet? Have you tried reverse proxy

matin-alizadeh commented 5 months ago

Can you access your home network through the internet? Have you tried reverse proxy

No It's not possible to access my home network via the Internet. I want the ESP to send its stream to a server and I can view the stream through that server.

rjsachse commented 5 months ago

Do you have a server set up? You could push the mjpeg stream. If you can't access port forwarding ask your ISP to turn off CGNAT.

What is the server setup to be able to pull the images?

matin-alizadeh commented 5 months ago

I want to use a virtual server for this. I do not intend to use port forwarding and I am looking for an alternative solution.

rjsachse commented 5 months ago

Ok, I have tried to help you out, your not giving any details of the server or capabilities, is this just an idea? You could push the images to a server or a server could pull the images. Maybe try blynk or homeassistant cloud