Display of esp32 camera on another esp32 webserver

Hello,

I'm using a 30 pin esp32 to which I've connected various sensors and whose data is displayed in a web server; now I'm planning to add a camera. I have an esp32 cam, but I don't want a separate server; instead, I want the esp32 cam to display the live video camera to the normal esp32. Is this possible?

It is not possible in your plan to display a live image, because it requires transfer of the image from one MCU to the other before displaying.

the ESP32 CAM can run a webserver to display images
could you transmit the ESP32 sensor data to the ESP32 CAM for inclusion in its web page?

I have an ESP32CAM that 4.7 times a second FTP's an image that ends up on my web site where, viewing the image on a web page, I use a script to update the image as a new one is received from the ESP32CAM.

A ESP32CAM is rated for 5 frames a second, max. Realtime image viewing will not be possible with a ESP32CAM with the limitation of 5 frames a second and the added time to transfer the image.

If the OP is going to use another ESP32 to display the images then I'd down size the image at the ESP32CAM so that the image transfer time is quicker.

1 Like

Something like

<p align="right"><iframe src="http://192.168.1.5/" width=400 height="200"></iframe></p>

Inside your " regular" esp32 webserver html
(http://192.168.1.5/ would be the esp32cam address)

Yea It's working but webpage has become very slow .

Here’s is my code .

  async function liveEspCamer() {
    document.getElementById('livecamera').innerHTML = `<p align="right"><iframe src="http://192.168.137.222/" width=400 height="200"></iframe></p>`;
  }

liveEspCamer();
<div id="livecamera">

        </div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.