ESP-ADF Release v2.1
Below is the release information of ESP-ADF v2.1, and its documentation is available here.
Changes since v2.0
Major New Features
Pipeline Framework
New Features
- Added
esp_event_castfor event broadcasting - Added
audio_threadto support stack on external memory
Bugfix
- Fixed the issue that
audio_element_runreturn value is overridden - Fixed the bug that space is encoded as a wrong character in URL
- Fixed the bug that the stop opening element gets status incorrectly
- Fixed the bug that element is_open flag is cleared on the AEL_STATE_INIT state
- Fixed the thread safe issue in the audio element APIs
- Cleared the dead code in
audio_pipeline_stop - Fixed the audio pipeline failure when compiled with cpp
Playlist
New Features
- Added the
get_url_idAPI - Added the
resetAPI - Added the
exitAPI - Added the
remove_by_urlAPI - Added the
remove_by_idAPI
Service Framework
New Features
- Added the Wi-Fi SSID and Password manager
- Added the OTA service
- Support event callback
- Support comparison between binary versions
- Added a battery service for monitoring the battery voltage
- Added a coredump service to trace the crash reason
- Added the
aw2013driver to display service - Added support for
wifi_servicereconnect infinite times
Bugfix
- Fixed the issue that the
wifi_servicecannot reconnect automatically - Fixed the failure that occurs when the
wifi_service_ destroyAPI is called for more than once
ESP Peripherals
New Features
- Added
wpa2inperiph_wifi - Replaced
malloc,callocandfreeAPIs withaudio_malloc,audio_ callocandaudio_ freeAPIs
Bugfix
- Fixed a bug that
periph_ledcan't work with multi-LED
Support New Development Board
- Added support for ESP32 S2 kaluga_1_v1_2
Audio Stream
New Features
- Added TCP stream
- Added PWM stream
- Added a
versionfield in the tone stream
Bugfix
- Fixed a bug that m3u8 stream is blocked
ESP Codec and Filter Libraries
You can find the released codec and filter libraries here.
New Features
- Added G711 encoder and decorder
Bugfix
- Fixed a bug that
esp_processinggets pop noise when thecomplexityis greater than 1
ESP Audio
Bugfix
- Improved the
esp_audio_stopresponse time - Fixed an issue that raw URL play is blocked
ADF Micropython
Bugfix
- Fixed a bug that micropython build error occurs with the latest ADF
Audio Protocol
New Features
- SIP
- Added support for SIP
UPDATE - Added support to use RANDOM RTP/SIP port
- Added support for custom headers
- Added support to send the
OPTION NATmethod packet on call - Added support to retransmit for register failure
- Added support for SIP
- DLNA
- Added support for customized
devicelistandnotify
- Added support for customized
Bugfix
- Fixed an issue that SIP drops
non-current session method - Fixed the UPNP notify heap corrupt issue
- Improved to reduce DLNA memory
Docs
- Updated ESP-ADF readme to support multi-chips
- Added the
esp32-korvo-du1906board readme - Added the Chinese translation for LyraT user guide
New Examples of ESP-ADF
Below are the added examples that demonstrate the usage of ESP-ADF components:
examples/system/coredumpexamples/otaexamples/korvo_du1906aexamples/advanced_examples/wifi_bt_ble_coexexamples/system/batteryexamples/system/wpa2_enterpriseexamples/get-started/pipeline_tcp_client- Fixed a bug that
pipeline_opus_sdardno voice data in file
Get This Release
Using git commands below to obtain ESP-ADF v2.1 is highly recommended. Note that the submodules should also be updated (using git submodule update --init --recursive). Otherwise, the source files may be not working properly.
git clone https://github.com/espressif/esp-adf.git esp-adf-v2.1
cd esp-adf-v2.1/
git checkout v2.1
git submodule update --init --recursiveTo get the programming guide for Audio Development Framework, please check here.