VoIP例程通话时程序崩溃,接收帧长度异常

xiaoming
Posts: 6
Joined: Tue Sep 28, 2021 1:32 am

VoIP例程通话时程序崩溃,接收帧长度异常

Postby xiaoming » Thu Mar 16, 2023 7:24 am

esp-adf-v2.5+esp-idf-v4.4.4,SIP服务端是用的FreeSwitch,手机客户端是安卓Linphone
ESP32-S3-Korvo-2开发板运行VoIP例程,通话接通后,有时候会导致程序报错崩溃重启
根据backtrace信息定位到
esp-adf-v2.5\examples\protocols\components\av_stream\av_stream.c +647
for (int i = 0; i < frame->len; i++) {
dec_buffer_16 = esp_g711a_decode(frame->data);
}
添加打印信息后发现,出现问题时收到的frame->len=1,342,177,285

有时候是通话持续几分钟后出现上述问题,有时候是通话十几分钟后仍正常

Who is online

Users browsing this forum: No registered users and 33 guests