How to build VoIP project on ESP32 Audio Kit

  Рет қаралды 7,726

Peter Lu @漢亞科技

Peter Lu @漢亞科技

2 жыл бұрын

#ESP32 #ESPIDF #VoIP
Lecture: han-ya.blogspot.com/2021/09/e...

Пікірлер: 43
@trungtintran8583
@trungtintran8583 2 жыл бұрын
I'm trying to make two-way voice streaming via wifi (UDP/IP) compatible with OBS or other streaming software. The audio quality must be at least 16bit 48Khz. Could I use Audio kit V2.2 for my project?
@LuPeter1971
@LuPeter1971 2 жыл бұрын
My voip using SIP protocol. Codec are negotiated to 8kHz Mu-law. I can't say your quality 16bit/48k would be good or not.
@RandomGuy-hi2jm
@RandomGuy-hi2jm 2 жыл бұрын
Hey i have that exact board but when i flash any recording to sd card example the recorded file saves in sd card but i cant hear any sound in the recorded file. Please help what do i need to do. I'll appreciate if u tell in easy terms..
@LuPeter1971
@LuPeter1971 2 жыл бұрын
1) check recording stream is working. Try to loopback mic stream to play stream, make sure streaming without error. 2) no error to write SD, and check if data is written to SD.
@nexetfpv8037
@nexetfpv8037 9 ай бұрын
I can't compile because of this error: Bootloader binary size 0x6ee0 bytes. 0x120 bytes (1%) free. ninja: build stopped: subcommand failed. * The terminal process "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command ninja " terminated with exit code: 1.
@LuPeter1971
@LuPeter1971 9 ай бұрын
Not enough size ? I have no idea about the error.
@cahyoariwibowo7624
@cahyoariwibowo7624 2 жыл бұрын
hi, i got problem after build : ninja: no work to do. [111/112] Linking CXX executable voip_app.elf FAILED: voip_app.elf how to solved?
@LuPeter1971
@LuPeter1971 2 жыл бұрын
Check build environment setting. han-ya.blogspot.com/2021/09/esp32-audio-voip.html
@cahyoariwibowo7624
@cahyoariwibowo7624 2 жыл бұрын
@@LuPeter1971 so need copy components manualy? i am first using, and export from ESP-ADF example..
@LuPeter1971
@LuPeter1971 2 жыл бұрын
@@cahyoariwibowo7624 components automatically generated... actually it's copied from esp-adf folder.
@cahyoariwibowo7624
@cahyoariwibowo7624 2 жыл бұрын
Yes, i see, whats encironment setting, have example? Its show include file not found in browse.path
@LuPeter1971
@LuPeter1971 2 жыл бұрын
@@cahyoariwibowo7624 You may try "blink" easy example first.... and then figure out the build issue.
@RodrigoDelAngelHurtado
@RodrigoDelAngelHurtado Жыл бұрын
What application your are using?
@LuPeter1971
@LuPeter1971 Жыл бұрын
IP phone or tele-conference, such as kzbin.info/www/bejne/mmKcdWSnp9yqd7M
@RodrigoDelAngelHurtado
@RodrigoDelAngelHurtado Жыл бұрын
@@LuPeter1971 The application in the phone?
@LuPeter1971
@LuPeter1971 Жыл бұрын
WiFi VoIP application. ESP32 SDK provides SIP protocol for VoIP.
@trojanking2922
@trojanking2922 Жыл бұрын
@@LuPeter1971 brother can you send me all the schematic diagram and coding
@trojanking2922
@trojanking2922 Жыл бұрын
Please help me I need this project for my university
@johanjoju3801
@johanjoju3801 Жыл бұрын
Hello, after doing all steps mentioned in blog, when I try to build play_mp3_control code to know whether the configuration are correct or not, An error occurred after compilation, please guide error: 'GPIO_SEL_23' undeclared (first use in this function); did you mean 'GPIO_NUM_23'? 55 | #define TOUCH_SEL_PLAY GPIO_SEL_23 | ^~~~~~~~~~~ error: 'GPIO_SEL_18' undeclared (first use in this function); did you mean 'GPIO_NUM_18'? 56 | #define TOUCH_SEL_VOLUP GPIO_SEL_18 error: 'I2S_NUM_MAX' undeclared (first use in this function); did you mean 'I2C_NUM_MAX'? 93 | if (i2s_num >= I2S_NUM_MAX) | ^~~~~~~~~~~ | I2C_NUM_MAX error: 'PERIPHS_IO_MUX_GPIO0_U' undeclared (first use in this function) 107 | PIN_FUNC_SELECT(PERIPHS_IO_MUX_GPIO0_U, FUNC_GPIO0_CLK_OUT1); error: 'FUNC_GPIO0_CLK_OUT1' undeclared (first use in this function) 107 | PIN_FUNC_SELECT(PERIPHS_IO_MUX_GPIO0_U, FUNC_GPIO0_CLK_OUT1); error: 'PIN_CTRL' undeclared (first use in this function) 108 | WRITE_PERI_REG(PIN_CTRL, 0xFFF0); | ^~~~~~~~ | ^~~~~~~~~~~~~~~~~~~
@LuPeter1971
@LuPeter1971 Жыл бұрын
The error arises from the definition. You may check board_def.h、board_pins_config.c, which are related to your hardware.
@johanjoju3801
@johanjoju3801 Жыл бұрын
@@LuPeter1971 I am using ESP32-A1S 2974 where the codec IC is ES8388. Does the Play_mp3_control code directly works if I flash it in my hardware, I only changed PIN config. Please guide this is for my college project. If you have any document to get start working with ESP-ADF and ESP-IDF for A1S board kindly share me.
@LuPeter1971
@LuPeter1971 Жыл бұрын
@@johanjoju3801 "ES8388" chip, that is ESP32-Lyrat 4.3 board. Refer to the schematics of Lyrat 4.3 and look into the pin connection btw Codec and ESP32. Check the folder \esp-adf\components\audio_board, and \esp-adf\components\audio_hal I guess you need to modify some code or config in the folder.
@johanjoju3801
@johanjoju3801 Жыл бұрын
@@LuPeter1971 now the code has build successfully, can you please let me know where to configure the codec driver among the list of drivers, I mean where to configure the codec IC I am using in VS code menu config?
@LuPeter1971
@LuPeter1971 Жыл бұрын
@@johanjoju3801 study MakeFile: CMakeLists.txt, component.mk. You will know how to config and make file. BTW, in VS code, press "F1" to see ESP commands.
@quangminhtran8356
@quangminhtran8356 Жыл бұрын
could you share how to make sip phone via stm32?
@LuPeter1971
@LuPeter1971 Жыл бұрын
Sorry, I don't have STM32 for SIP phone. 😂
@quangminhtran8356
@quangminhtran8356 Жыл бұрын
@@LuPeter1971 could you share code esp32 for me?
@LuPeter1971
@LuPeter1971 Жыл бұрын
@@quangminhtran8356 github.com/yijenlu1971/voip
App Inventor 語音辨識元件
1:02
Peter Lu @漢亞科技
Рет қаралды 539
Building a Digital Music Player with I2S?! What is I2S! EB#45
10:24
Nutella bro sis family Challenge 😋
00:31
Mr. Clabik
Рет қаралды 13 МЛН
ESP-TEL: Espressif's Audio Tele-Conferencing Solution
5:11
Espressif Systems
Рет қаралды 44 М.
Pirating a Satellite & Making Free Phone Calls
7:50
Peter Fairlie
Рет қаралды 479 М.
How To Run ChatGPT on your Arduino Projects
5:19
ProfessorBoots
Рет қаралды 18 М.
ESP32 in a commercial product? - From prototype to production
7:58
Predictable Designs
Рет қаралды 51 М.
Playing around with the ESP32 A1S Module
20:00
NA5Y
Рет қаралды 8 М.
ESP32 Walkie-Talkie: DIY Audio Magic
8:50
atomic14
Рет қаралды 105 М.
ESP32 audio to Bluetooth / DIY speaker example Arduino
4:31
VoIP connections (SIP call) on ESP32 Audio Kit v2.2
1:32
Peter Lu @漢亞科技
Рет қаралды 11 М.
ESP32-A1S Module Audio Demo on Breakout PCB
6:39
Gadget Reboot
Рет қаралды 8 М.
iPhone 16 с инновационным аккумулятором
0:45
ÉЖИ АКСЁНОВ
Рет қаралды 8 МЛН
⚡️Супер БЫСТРАЯ Зарядка | Проверка
1:00
Choose a phone for your mom
0:20
ChooseGift
Рет қаралды 7 МЛН
После ввода кода - протирайте панель
0:18
Up Your Brains
Рет қаралды 1,2 МЛН
Игровой Комп с Авито за 4500р
1:00
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 2,2 МЛН
OZON РАЗБИЛИ 3 КОМПЬЮТЕРА
0:57
Кинг Комп Shorts
Рет қаралды 1,7 МЛН