|
|
преди 1 месец | |
|---|---|---|
| .. | ||
| netinet | преди 1 месец | |
| .gitignore | преди 1 месец | |
| CMakeLists.txt | преди 1 месец | |
| FreeRTOSConfig.h | преди 1 месец | |
| FreeRTOS_Kernel_import.cmake | преди 1 месец | |
| README.md | преди 1 месец | |
| config.h | преди 1 месец | |
| lwipopts.h | преди 1 месец | |
| main.c | преди 1 месец | |
| mbedtls_config.h | преди 1 месец | |
Establish a DataChannel connection between PICO and the web
| Device | Image |
|---|---|
| PICO W | ![]() |
$ git clone --recursive https://github.com/sepfy/libpeer
$ git clone --recurisve https://github.com/raspberrypi/pico-sdk
$ git clone --recursive https://github.com/FreeRTOS/FreeRTOS-Kernel
Modify libpeer/third_party/libsrtp/include/srtp.h
@@ -614,7 +614,7 @@ srtp_err_status_t srtp_add_stream(srtp_t session, const srtp_policy_t *policy);
* - [other] otherwise.
*
*/
-srtp_err_status_t srtp_remove_stream(srtp_t session, unsigned int ssrc);
+srtp_err_status_t srtp_remove_stream(srtp_t session, uint32_t ssrc);
/**
* @brief srtp_update() updates all streams in the session.
$ export PICO_SDK_PATH=<your PICO SDK path>/pico-sdk
$ export FREERTOS_KERNEL_PATH=<your FreeRTOS kernel path>/FreeRTOS-Kernel
$ export WIFI_SSID=<your WIFI SSID>
$ export WIFI_PASSWORD=<your WIFI password>
$ cd libpeer/examples/pico
$ mkdir build
$ cd build
$ cmake ..
$ sudo picotool load -f pico_peer.uf2