From 10540a4f560538212ac09817f8cd2396968717ff Mon Sep 17 00:00:00 2001 From: tempo Date: Tue, 6 Aug 2024 19:32:09 +0800 Subject: [PATCH] esp_rtc: Add esp_rtc v1.2.0 (break change) 1: Rename API esp_rtc_init/deinit to esp_rtc_service_init/deinit to avoid conflict with IDF 2: Enhance DTMF send receive logic, allow register callback to get raw DTMF data 3: UPNP support for large XML parser 4: Fix SIP invite response not with SDP error --- components/esp-adf-libs | 2 +- examples/protocols/esp-rtc/main/rtc_service.c | 4 ++-- examples/protocols/voip/main/sip_service.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/components/esp-adf-libs b/components/esp-adf-libs index 4534b324c..831afe756 160000 --- a/components/esp-adf-libs +++ b/components/esp-adf-libs @@ -1 +1 @@ -Subproject commit 4534b324c93cbf1d07b11ff8a236b3064d9634d0 +Subproject commit 831afe75657e0e86564a57e405eb71d8baea4d44 diff --git a/examples/protocols/esp-rtc/main/rtc_service.c b/examples/protocols/esp-rtc/main/rtc_service.c index 3685ca4f9..c30729a4c 100644 --- a/examples/protocols/esp-rtc/main/rtc_service.c +++ b/examples/protocols/esp-rtc/main/rtc_service.c @@ -167,13 +167,13 @@ esp_rtc_handle_t rtc_service_start(av_stream_handle_t av_stream, const char *uri .event_handler = _esp_rtc_event_handler, }; - return esp_rtc_init(&rtc_service_config); + return esp_rtc_service_init(&rtc_service_config); } int rtc_service_stop(esp_rtc_handle_t esp_rtc) { if (esp_rtc) { - return esp_rtc_deinit(esp_rtc); + return esp_rtc_service_deinit(esp_rtc); } return ESP_FAIL; } diff --git a/examples/protocols/voip/main/sip_service.c b/examples/protocols/voip/main/sip_service.c index 90ec93049..e8ef3becb 100644 --- a/examples/protocols/voip/main/sip_service.c +++ b/examples/protocols/voip/main/sip_service.c @@ -123,14 +123,14 @@ esp_rtc_handle_t sip_service_start(av_stream_handle_t av_stream, const char *uri .event_handler = _esp_sip_event_handler, }; - return esp_rtc_init(&sip_service_config); + return esp_rtc_service_init(&sip_service_config); } int sip_service_stop(esp_rtc_handle_t esp_sip) { int ret = ESP_FAIL; if (esp_sip) { - return esp_rtc_deinit(esp_sip); + return esp_rtc_service_deinit(esp_sip); } return ret; }