完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
Hi,请教一下
本人使用examplesrecorderpipeline_raw_http例程,想实现多次录音上传的操作,实际测试发现只有第一次按下REC键可以录音并上传http服务器,松开rec键后上传结束;第二次及以后按下rec键后,element自动abord, 各位有解决这个问题的吗?谢谢! 使用硬件 ESP32-LyraT-V4.3 ADF版本:App version: v2.3-228-g7b844d5-dirty IDF版本:ESP-IDF: v4.1-beta2-141-g84b5178-dirty log: I (15211) REC_RAW_HTTP: [ 2 ] Start codec chip E (15211) gpio: gpio_install_isr_service(438): GPIO isr service already installed I (15231) REC_RAW_HTTP: [3.0] Create audio pipeline for recording I (15231) REC_RAW_HTTP: [3.1] Create http stream to post data to server I (15241) REC_RAW_HTTP: [3.2] Create i2s stream to read audio data from codec chip I (15281) REC_RAW_HTTP: [3.3] Register all elements to audio pipeline I (15281) REC_RAW_HTTP: [3.4] Link it together [codec_chip]-->i2s_stream->http_stream-->[http_server] W (15311) PERIPH_TOUCH: _touch_init I (15351) REC_RAW_HTTP: [ 4 ] Press [Rec] button to record, Press [Mode] to exit I (26291) REC_RAW_HTTP: [ * ] [Rec] input key event, resuming pipeline ... //第一次录音上传ok Total bytes written: 72704 Total bytes written: 73728 I (27481) REC_RAW_HTTP: [ + ] HTTP client HTTP_STREAM_POST_REQUEST, write end chunked marker I (27531) REC_RAW_HTTP: [ + ] HTTP client HTTP_STREAM_FINISH_REQUEST W (27551) HTTP_CLIENT: esp_transport_read returned:-1 and errno:128 W (27551) AUDIO_PIPELINE: Without stop, st:1 W (27551) AUDIO_PIPELINE: Without wait stop, st:1 I (56951) REC_RAW_HTTP: [ * ] [Rec] input key event, resuming pipeline ... //第二次 I (56951) REC_RAW_HTTP: [ + ] HTTP client HTTP_STREAM_PRE_REQUEST, lenght=0 W (56961) AUDIO_ELEMENT: OUT-[i2s] AEL_IO_ABORT W (56961) AUDIO_ELEMENT: OUT-[i2s] AEL_IO_ABORT W (56961) AUDIO_ELEMENT: OUT-[i2s] AEL_IO_ABORT Total bytes written: 8192 W (57221) AUDIO_ELEMENT: IN-[http] AEL_IO_ABORT I (57221) REC_RAW_HTTP: [ + ] HTTP client HTTP_STREAM_POST_REQUEST, write end chunked marker I (57281) REC_RAW_HTTP: [ + ] HTTP client HTTP_STREAM_FINISH_REQUEST W (57301) HTTP_CLIENT: esp_transport_read returned:-1 and errno:128 I (58461) REC_RAW_HTTP: [ * ] [Rec] key released, stop pipeline ... E (58461) AUDIO_ELEMENT: [i2s] Element already stopped E (58461) AUDIO_ELEMENT: [http] Element already stopped W (58461) AUDIO_PIPELINE: Without stop, st:1 W (58471) AUDIO_PIPELINE: Without wait stop, st:1 I (77841) REC_RAW_HTTP: [ * ] [Rec] input key event, resuming pipeline ... Total bytes written: 6144 W (77901) AUDIO_ELEMENT: IN-[http] AEL_IO_ABORT I (77901) REC_RAW_HTTP: [ + ] HTTP client HTTP_STREAM_POST_REQUEST, write end chunked marker I (78031) REC_RAW_HTTP: [ + ] HTTP client HTTP_STREAM_FINISH_REQUEST W (78051) HTTP_CLIENT: esp_transport_read returned:-1 and errno:128 W (78051) AUDIO_ELEMENT: OUT-[i2s] AEL_IO_ABORT W (78051) AUDIO_ELEMENT: OUT-[i2s] AEL_IO_ABORT W (78051) AUDIO_ELEMENT: OUT-[i2s] AEL_IO_ABORT W (78061) AUDIO_ELEMENT: OUT-[i2s] AEL_IO_ABORT I (80291) REC_RAW_HTTP: [ * ] [Rec] key released, stop pipeline ... E (80291) AUDIO_ELEMENT: [i2s] Element already stopped E (80291) AUDIO_ELEMENT: [http] Element already stopped W (80291) AUDIO_PIPELINE: Without stop, st:1 W (80301) AUDIO_PIPELINE: Without wait stop, st:1 |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
1153 浏览 1 评论
583浏览 6评论
480浏览 5评论
有没有办法在不使用混杂模式的情况下实现Wifi驱动程序接收缓冲区访问中断呢?
465浏览 5评论
466浏览 4评论
441浏览 4评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-24 11:30 , Processed in 1.019025 second(s), Total 76, Slave 59 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号