https://github.com/husarnet/esp32-husarnet-cam
ESP32Cam demo over Husarnet
https://github.com/husarnet/esp32-husarnet-cam
Last synced: about 2 months ago
JSON representation
ESP32Cam demo over Husarnet
- Host: GitHub
- URL: https://github.com/husarnet/esp32-husarnet-cam
- Owner: husarnet
- Created: 2024-04-05T15:43:20.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-04-25T10:23:28.000Z (about 2 years ago)
- Last Synced: 2025-03-05T17:42:51.454Z (over 1 year ago)
- Language: C++
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Husarnet ESP32 Webcam Example
This example demonstrates how to use the Husarnet library to stream video. Stream performance highly depends on a selected ESP microcontroller and camera resolution.
To use Arduino libraries in your project and still have access to extended features of ESP-IDF, you can use the ESP-IDF framework in a [Arduino as a component](https://docs.espressif.com/projects/arduino-esp32/en/latest/esp-idf_component.html) configuration. As stated by the Espressif documentation, this setup is recommended for advanced users and has some limitations.
For more details, refer to the [official Espressif documentation](https://docs.espressif.com/projects/arduino-esp32/en/latest/esp-idf_component.html).
## Quickstart
Clone the repository and submodules (used for external Arduino libraries):
```bash
git clone --recurse-submodules https://github.com/husarnet/esp32-husarnet-cam
cd esp32-husarnet-cam
```
Set your Husarnet join code and Wi-Fi credentials in the `main/main.cpp` file.
```cpp
#define HOSTNAME "husarnet-esp32-cam"
#define JOIN_CODE "XXXXXXXXXXXXXXXXXX"
#define WIFI_SSID "your_ssid"
#define WIFI_PASS "your_password"
```
Flash the project to your ESP32 device:
```bash
idf.py build && idf.py flash
```
For more details on how to use Arduino libraries in ESP-IDF projects, refer to the [official documentation](https://docs.espressif.com/projects/arduino-esp32/en/latest/esp-idf_component.html).