Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

sepfy/pear-esp32-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pear-esp32-examples

The project will be closed and will be part of libpeer

Stream JPEG over WebRTC datachannel with ESP32-EYE.

Hardware

ESP32-EYE

Instructions

Install esp-idf

at lease v5.0.0

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

Download

$ git clone https://github.com/sepfy/pear-esp32-examples.git
$ cd pear-esp32-examples
$ idf.py add-dependency "espressif/esp32-camera^2.0.4"
$ idf.py add-dependency "mdns"
$ git submodule init && git submodule update
$ cd components/srtp
$ git submodule init && git submodule update

Configure

$ idf.py menuconfig
# Choose Example Configuration and change the SSID and password

Build

$ idf.py build

Test

$ idf.py flash

Check the serial port message:

I (12936) webrtc: MQTT_EVENT_CONNECTED
I (12946) webrtc: sent subscribe successful, msg_id=5876
I (13246) webrtc: MQTT_EVENT_SUBSCRIBED, msg_id=5876
I (13246) webrtc: open browser and visit https://sepfy.github.io/webrtc?deviceId=esp32-xxxxxxxxxxxx

Open the browser and visit the website showing by serial port message image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published