ERROR! rb_in slow!!! 这个错误如何解决

tomliu
Posts: 3
Joined: Wed May 18, 2022 8:15 am

ERROR! rb_in slow!!! 这个错误如何解决

Postby tomliu » Wed May 18, 2022 8:19 am

在copy voip模板建立的新项目中运行,出现ERROR! rb_in slow!!!,请问是什么错误

日志如下:
I (2802) AUDIO_ELEMENT: [i2s] AEL_MSG_CMD_RESUME,state:1
I (2809) AUDIO_ELEMENT: [filter_r] AEL_MSG_CMD_RESUME,state:1
I (2814) RSP_FILTER: sample rate of source data : 16000, channel of source data : 2, sample rate of destination data : 16000, channel of destination data : 2
I (2816) AUDIO_ELEMENT: [algo] AEL_MSG_CMD_RESUME,state:1
I (2836) AUDIO_ELEMENT: [filter] AEL_MSG_CMD_RESUME,state:1
I (2844) AUDIO_ELEMENT: [sip_enc] AEL_MSG_CMD_RESUME,state:1
I (2845) RSP_FILTER: sample rate of source data : 16000, channel of source data : 1, sample rate of destination data : 8000, channel of destination data : 1
I (2851) AUDIO_PIPELINE: Pipeline started
I (2916) [no-router, 139]: Node read task is running 1
Initial ONE-MIC auido front-end for speech recognition, mode:1, (Dec 10 2021 20:29:24)
ERROR! rb_in slow!!!
ERROR! rb_in slow!!!
ERROR! rb_in slow!!!
ERROR! rb_in slow!!!

ESP_HengYC
Posts: 184
Joined: Fri Dec 15, 2017 2:45 am

Re: ERROR! rb_in slow!!! 这个错误如何解决

Postby ESP_HengYC » Wed Jun 08, 2022 8:13 am

ERROR! rb_in slow!!!
ERROR! rb_in slow!!!
ERROR! rb_in slow!!!
ERROR! rb_in slow!!!


这个错误是 esp-sr 子模块中 报告的错误, 其含义是 ringbuffer 满了, CPU 处理数据不及时导致的.

你需要处理调整下数据流的 生产者/消费者 的速度.

hnhkj2020
Posts: 12
Joined: Mon Jan 13, 2020 3:05 am

Re: ERROR! rb_in slow!!! 这个错误如何解决

Postby hnhkj2020 » Mon Aug 22, 2022 10:42 am

same status. if how to processed?


```
I (43870) SIP: [1970-01-01/00:00:21]<<======================
I (43880) SIP: Remote RTP addr=192.168.0.100
W (43880) SIP: CHANGE STATE FROM 68, TO 72, :func: _sip_uac_process_res:1589
I (43890) SIP: Remote RTP port=13362
I (43890) APP_VOIP: SIP_EVENT_AUDIO_SESSION_BEGIN
E (43900) I2S: register I2S object to platform failed
I (43910) I2S: I2S0, MCLK output by GPIO16
I (43910) ESP32_S3_VE: I2S0, MCLK output by GPIO0
I (43920) AUDIO_PIPELINE: link el->rb, el:0x3d83135c, tag:i2s, rb:0x3d80d6f8
I (43920) AUDIO_PIPELINE: link el->rb, el:0x3d8314c0, tag:filter_r, rb:0x3d80f738
I (43930) AUDIO_PIPELINE: link el->rb, el:0x3d831610, tag:algo, rb:0x3d811f78
I (43940) AUDIO_PIPELINE: link el->rb, el:0x3d80d3ac, tag:filter, rb:0x3d813fb8
I (43950) AUDIO_PIPELINE: link el->rb, el:0x3d80d488, tag:sip_enc, rb:0x3d8147f8
I (43960) APP_VOIP: SIP recorder has been created
E (43960) I2S: register I2S object to platform failed
I (43970) I2S: I2S0, MCLK output by GPIO16
I (43970) ESP32_S3_VE: I2S0, MCLK output by GPIO0
I (43980) AUDIO_PIPELINE: link el->rb, el:0x3d815058, tag:raw, rb:0x3d815634
I (43980) AUDIO_PIPELINE: link el->rb, el:0x3d815188, tag:sip_dec, rb:0x3d817674
I (43990) AUDIO_PIPELINE: link el->rb, el:0x3d8152fc, tag:filter, rb:0x3d817eb4
I (44000) APP_VOIP: SIP player has been created
I (44010) AUDIO_ELEMENT: [raw-0x3d815058] Element task created
I (44010) AUDIO_THREAD: The sip_dec task allocate stack on external memory
I (44020) AUDIO_ELEMENT: [sip_dec-0x3d815188] Element task created
I (44030) AUDIO_THREAD: The filter task allocate stack on external memory
I (44030) AUDIO_ELEMENT: [filter-0x3d8152fc] Element task created
I (44040) AUDIO_ELEMENT: [i2s-0x3d8154a0] Element task created
I (44050) AUDIO_PIPELINE: Func:audio_pipeline_run, Line:359, MEM Total:8255995 Bytes, Inter:38815 Bytes, Dram:38815 Bytes

I (44060) AUDIO_ELEMENT: [sip_dec] AEL_MSG_CMD_RESUME,state:1
I (44070) CODEC_ELEMENT_HELPER: The element is 0x3d815188. The reserve data 2 is 0x0.
I (44070) AUDIO_ELEMENT: [filter] AEL_MSG_CMD_RESUME,state:1
I (44090) AUDIO_ELEMENT: [i2s] AEL_MSG_CMD_RESUME,state:1
I (44090) I2S_STREAM: AUDIO_STREAM_WRITER
I (44090) AUDIO_PIPELINE: Pipeline started
I (44100) AUDIO_ELEMENT: [i2s-0x3d83135c] Element task created
I (44100) AUDIO_THREAD: The filter_r task allocate stack on external memory
I (44110) AUDIO_ELEMENT: [filter_r-0x3d8314c0] Element task created
I (44120) AUDIO_THREAD: The algo task allocate stack on external memory
I (44120) AUDIO_ELEMENT: [algo-0x3d831610] Element task created
I (44130) AUDIO_THREAD: The filter task allocate stack on external memory
I (44140) AUDIO_ELEMENT: [filter-0x3d80d3ac] Element task created
I (44150) AUDIO_THREAD: The sip_enc task allocate stack on external memory
I (44150) AUDIO_ELEMENT: [sip_enc-0x3d80d488] Element task created
I (44160) AUDIO_ELEMENT: [raw-0x3d80d598] Element task created
I (44170) AUDIO_PIPELINE: Func:audio_pipeline_run, Line:359, MEM Total:7967055 Bytes, Inter:32639 Bytes, Dram:32639 Bytes

I (44180) AUDIO_ELEMENT: [i2s] AEL_MSG_CMD_RESUME,state:1
I (44180) RSP_FILTER: sample rate of source data : 8000, channel of source data : 1, sample rate of destination data : 16000, channel of destination data : 2
I (44180) AUDIO_ELEMENT: [filter_r] AEL_MSG_CMD_RESUME,state:1
I (44210) RSP_FILTER: sample rate of source data : 16000, channel of source data : 2, sample rate of destination data : 16000, channel of destination data : 1
I (44210) AUDIO_ELEMENT: [algo] AEL_MSG_CMD_RESUME,state:1
I (44230) AUDIO_ELEMENT: [filter] AEL_MSG_CMD_RESUME,state:1
I (44230) RSP_FILTER: sample rate of source data : 16000, channel of source data : 1, sample rate of destination data : 8000, channel of destination data : 1
I (44250) AUDIO_ELEMENT: [sip_enc] AEL_MSG_CMD_RESUME,state:1
I (44260) AUDIO_PIPELINE: Pipeline started
I (44260) SIP_RTP: receive task, local addr=192.168.0.101:38794
:1336260) SIP_RTP: send task, remote addr=192.168.0.100
Initial ONE-MIC auido front-end for speech recognition, mode:0, (Dec 10 2021 11:08:01)
I (44390) AUDIO_THREAD: The algo_fetch task allocate stack on external memory
ERROR! rb_in slow!!!
ERROR! rb_in slow!!!
ERROR! rb_in slow!!!
ERROR! rb_in slow!!!
ERROR! rb_in slow!!!
ERROR! rb_in slow!!!
ERROR! rb_in slow!!!
ERROR! rb_in slow!!!
ERROR! rb_in slow!!!
ERROR! rb_in slow!!!
ERROR! rb_in slow!!!
ERROR! rb_in slow!!!
ERROR! rb_in slow!!!
ERROR! rb_in slow!!!
ERROR! rb_in slow!!!
ERROR! rb_in slow!!!
ERROR! rb_in slow!!!
ERROR! rb_in slow!!!
ERROR! rb_in slow!!!
ERROR! rb_in slow!!!
ERROR! rb_in slow!!!
ERROR! rb_in slow!!!
ERROR! rb_in slow!!!
ERROR! rb_in slow!!!
ERROR! rb_in slow!!!
ERROR! rb_in slow!!!
```

Who is online

Users browsing this forum: No registered users and 44 guests