The project will be closed and will be part of libpeer
Stream JPEG over WebRTC datachannel with ESP32-EYE.
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
$ 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
$ idf.py menuconfig
# Choose Example Configuration and change the SSID and password
$ idf.py build
$ 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