langgenius / dify

Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.
https://dify.ai
Other
50.39k stars 7.23k forks source link

Android phone, recognition failure often occurs and no content is recognized #9892

Closed likenamehaojie closed 4 days ago

likenamehaojie commented 6 days ago

Self Checks

Dify version

0.10.1

Cloud or Self Hosted

Self Hosted (Docker), Self Hosted (Source)

Steps to reproduce

Android phone, recognition failure often occurs and no content is recognized

✔️ Expected Behavior

Android phone,

❌ Actual Behavior

Android phone

likenamehaojie commented 6 days ago

@crazywoola android phone voice input bug

likenamehaojie commented 6 days ago

第一次可以录音 ,但是当打开第二次或者第三次时 ,没有音波变化,同时也没有录音文件发送

likenamehaojie commented 6 days ago

@zxhlyh

likenamehaojie commented 6 days ago

只在android设备中发现,这个问题从 0.6版本就开始有了,请问可以解决么?

dosubot[bot] commented 6 days ago

The issue you're experiencing with voice input on Android devices, where recognition often fails and no content is recognized, seems to be a known problem that has persisted since version 0.6. The VoiceInput component in the Dify codebase, located at web/app/components/base/voice-input/index.tsx, is responsible for handling voice input and uses the Recorder class from the js-audio-recorder library [1].

Unfortunately, I don't have specific information on any changes made to this component between versions 0.6 and 0.10.1, or any known issues or bug reports related to this problem. It might be helpful to check the implementation of the VoiceInput component and the Recorder class for any potential issues or limitations.

To continue talking to Dosu, mention @dosu.

likenamehaojie commented 6 days ago

之前是有一个issus的,不知道什么原因给关闭了,当时以为解决了但是,现在的测试来看并没有解决,@dosu

likenamehaojie commented 6 days ago

第二次时完全没有录音文件发生,也没有接收到任何录音数据,所以录音波形也不显示