• 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

CameraWebserver using SPIFFS for webpage, scripts and stylesheet

Q&A Forum › Category: ESP32 › CameraWebserver using SPIFFS for webpage, scripts and stylesheet
0 Vote Up Vote Down
Roger Neumair asked 2 years ago

I enjoyed following the examples in the book.
I recently implemented the Pan&Tilt camera example of the eBook and started to modify it to my needs.
How would one change the structure of the program using SPIFFS to have a more advanced webpage?
Best regards,
Roger
 

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

Hi.
You can start by following this example to learn how to use SPIFFS to save the web page files: https://randomnerdtutorials.com/esp32-web-server-spiffs-spi-flash-file-system/
I hope this helps.
Regards,
Sara

0 Vote Up Vote Down
Roger Neumair answered 2 years ago

Hi Sara,
Thanks for the quick reply. I already use SPIFFS in another project. I am not sure if the cameraWebserver interacts with an asyncwebserver request.
The following code shows how I am currently using it, quite standard I think:

server.on(“/”, HTTP_GET, [](AsyncWebServerRequest *request) {request->send(SPIFFS, “/index.html”, “text/html”);});
How would this translate using camerawebserver? Do I need an additional asyncwebserver or is there something similar with camerawebserver?
 

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

Hi.
The camerawebserver is built using a different library.
At the moment, I couldn’t find a way to have the part of the code that does video streaming on the AsyncWebServer.
So, there’s a section that does the video streaming using one library, and the web page with the HTLM and CSS is built using another library, the AsyncWebServer.
Regards,
Sara

0 Vote Up Vote Down
William Lucid answered 2 years ago

Hi Roger,

I have a project using Asyncwebserver library that streams RTSP video from a Wyse Cam v3.  Currently the camera is down for repair.

Read more about project in this RNTLab forum topic link:  CameraRainGauge project

Project served from ESP32

Regards,
William

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.