• 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-cam

Q&A Forum › Category: ESP32 › esp32-cam
0 Vote Up Vote Down
jo.kitzen asked 3 years ago

I want to add authentication to the web server for video (module4, unit2 in your book), but I don’t know in what part of the code this should be done.

I noticed that in the first 3 modules the liberary <ESPAsyncWebServer.h>  is used and in module 4 <esp_http_server.h>. Can you explain what is the difference between these libraries.

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

Hi.

At the moment, we don’t have any example to add authentication to the ESP32-CAM web server.

The ESPAsyncWebServer is an asynchronous web server library. It provides an easy way to handle HTTP requests with the ESP32 and easily send HTML text, CSS, and images. Like the image web servers we build.

Learn more about that library: https://github.com/me-no-dev/ESPAsyncWebServer

However, we were not able to “create” a video streaming code using that library. So, we’ve started from the esp_http_server library that is the library used on the video streaming example, to build different projects with video.

That’s why the video examples use that library.
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/protocols/esp_http_server.html

Regards,
Sara

0 Vote Up Vote Down
jo.kitzen answered 3 years ago

Sara,
Thanks for your reply.
I think for security reasons the possibility to add a login option for accessing the ESP32-Cam over internet is nescessary. Would you consider to add this to the ESP32-CAM project?
regards, Jo

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

Hi Jo.
Yes, you’re right.
We’ll try to come up with a solution for that in the next eBook update.
Thanks for your interest.
Regards,
Sara

0 Vote Up Vote Down
jo.kitzen answered 3 years ago

Sara,
Thanks for your response.
I look forward for this solution
regards, Jo

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

  • [eBook Updated] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

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

Copyright © 2013-2023 · 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.