esp32

Example of the component sepfy/libpeer v0.0.3

ESP32

This guide demonstrates how to stream JPEG images over a WebRTC data channel using ESP32 hardware.

Supported Devices

Device Image
Freenove ESP32-S3-WROOM Board
XIAO ESP32S3 Sense
ESP32-EYE
M5Camera

Setup Instructions

Install esp-idf (v5.2 or higher)

Bash

$ git clone -b v5.2.2 https://github.com/espressif/esp-idf.git
$ cd esp-idf
$ source install.sh
$ source export.sh

Download Required Libraries

Bash

$ git clone https://github.com/sepfy/libpeer
$ cd libpeer/examples/esp32

Get Your URL

Go to the test website and copy the URL

Configure Your Build

Bash

$ idf.py menuconfig
# Peer Connection Configuration -> Signaling URL
# Example Connection Configuration -> WiFi SSID and WiFi Password

Build the Project

Bash

$ idf.py build

Flash and Test

Bash

$ idf.py flash

Connect to Your Device

Back to the test website and click Connect button

To create a project from this example, run:

idf.py create-project-from-example "sepfy/libpeer=0.0.3:esp32"

or download archive (~7.56 KB)