From 00aebcb783172d5b964694779110c7950f63232d Mon Sep 17 00:00:00 2001 From: David Cermak Date: Fri, 11 Jul 2025 16:59:21 +0200 Subject: [PATCH 1/2] fix(libpeer): Add direct dependency to libsrtp --- components/esp_webrtc/impl/peer_default/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_webrtc/impl/peer_default/CMakeLists.txt b/components/esp_webrtc/impl/peer_default/CMakeLists.txt index 2af35cf..3fb4615 100644 --- a/components/esp_webrtc/impl/peer_default/CMakeLists.txt +++ b/components/esp_webrtc/impl/peer_default/CMakeLists.txt @@ -2,6 +2,6 @@ idf_component_register(INCLUDE_DIRS ./include) get_filename_component(BASE_DIR ${CMAKE_CURRENT_SOURCE_DIR} NAME) add_prebuilt_library(${BASE_DIR} "${CMAKE_CURRENT_SOURCE_DIR}/libs/${IDF_TARGET}/libpeer_default.a" - PRIV_REQUIRES ${BASE_DIR} esp_timer) + PRIV_REQUIRES ${BASE_DIR} esp_timer espressif__esp_libsrtp) target_link_libraries(${COMPONENT_LIB} INTERFACE "-L ${CMAKE_CURRENT_SOURCE_DIR}/libs/${IDF_TARGET}") target_link_libraries(${COMPONENT_LIB} INTERFACE peer_default) From 633d9fe563d0b77b2f0ea79f3c93d413f28a41ce Mon Sep 17 00:00:00 2001 From: David Cermak Date: Thu, 10 Jul 2025 11:09:57 +0200 Subject: [PATCH 2/2] fix(media_lib): Remove deprecated freeRTOS header --- components/media_lib_sal/port/media_lib_os_freertos.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/media_lib_sal/port/media_lib_os_freertos.c b/components/media_lib_sal/port/media_lib_os_freertos.c index d248d59..aea0527 100644 --- a/components/media_lib_sal/port/media_lib_os_freertos.c +++ b/components/media_lib_sal/port/media_lib_os_freertos.c @@ -40,8 +40,12 @@ #include "esp_idf_version.h" #if CONFIG_FREERTOS_ENABLE_TASK_SNAPSHOT +#if (ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 2, 0)) +#include "esp_private/freertos_debug.h" +#else #include "freertos/task_snapshot.h" #endif +#endif #ifdef __XTENSA__ #include "esp_debug_helpers.h"