-
-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
22 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
cmake | ||
build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
project(examples) | ||
|
||
add_subdirectory(sample) | ||
add_subdirectory(generic) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,52 @@ | ||
# ESP32 | ||
Stream JPEG over WebRTC datachannel with ESP32. | ||
This guide demonstrates how to stream JPEG images over a WebRTC data channel using ESP32 hardware. | ||
|
||
## Support List | ||
|
||
| Hardware || | ||
## Supported Devices | ||
| Device |Image| | ||
|---|---| | ||
| [XIAO ESP32S3 Sense](https://wiki.seeedstudio.com/xiao_esp32s3_getting_started/) |<img src="https://files.seeedstudio.com/wiki/SeeedStudio-XIAO-ESP32S3/img/xiaoesp32s3sense.jpg" width="64">| | ||
| [ESP32-EYE](https://github.com/espressif/esp-who/blob/master/docs/en/get-started/ESP-EYE_Getting_Started_Guide.md) |<img src="https://www.espressif.com/sites/default/files/esp-eye-2-190116.png" width="64">| | ||
| [ESP32 M5Camera](https://github.com/m5stack/M5Stack-Camera) |<img src="https://static-cdn.m5stack.com/resource/docs/products/unit/m5camera/m5camera_01.webp" width="64">| | ||
| [M5Camera](https://github.com/m5stack/M5Stack-Camera) |<img src="https://static-cdn.m5stack.com/resource/docs/products/unit/m5camera/m5camera_01.webp" width="64">| | ||
|
||
## Instructions | ||
## Setup Instructions | ||
|
||
### Install esp-idf | ||
at lease v5.2 | ||
### 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 | ||
### Download Required Libraries | ||
```bash | ||
$ git clone --recursive https://github.com/sepfy/libpeer | ||
$ cd libpeer/examples/esp32 | ||
$ git clone --recursive https://github.com/sepfy/esp_ports.git components/srtp | ||
``` | ||
|
||
### Configure | ||
### Configure Your Build | ||
```bash | ||
$ idf.py menuconfig | ||
# Choose Example Connection Configuration and change the SSID and password | ||
``` | ||
|
||
### Build | ||
### Build the Project | ||
```bash | ||
$ idf.py build | ||
``` | ||
|
||
### Test | ||
### Flash and Test | ||
```bash | ||
$ idf.py flash | ||
``` | ||
Check the serial port message: | ||
Monitor the serial port output: | ||
``` | ||
I (10813) Camera: Camera Task Started | ||
I (10813) webrtc: peer_signaling_task started | ||
I (10813) webrtc: peer_connection_task started | ||
I (10823) webrtc: [APP] Free memory: 3882160 bytes | ||
I (10823) webrtc: open https://sepfy.github.io/webrtc?deviceId=esp32-xxxxxxxxxxxx | ||
``` | ||
Open the browser and visit the website showing by serial port message | ||
Open your browser and navigate to the URL provided in the serial port output: | ||
 | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.