chainlit icon indicating copy to clipboard operation
chainlit copied to clipboard

Microphone or wave-recorder button not work, no voice chat as described

Open bigmw opened this issue 9 months ago • 6 comments
trafficstars

Describe the bug I have been using Gradio to build chat apps. I recently found Chainlit, and was attracted immediately. The chat UI seems to be very professional and it’s simple to pick up. However, I noticed a major bug: its microphone or voice chat does not work! Mic is disabled by default. When I turned it on and clicked on the mic or wave-recorder button it did not respond at all. It did not bring up the "allow connecting to microphone?" message in the browser, nor did it connect to the mic. In fact, the process seems to be hanging there forever. (see the attached pics). I think it would be a major bug that a framework specialized in chat cannot talk or connect to microphone. This feature has been available for quite a while in frameworks like Gradio, which are less specialized in chat. I noticed that this problem was reported a while ago like in (https://github.com/Chainlit/chainlit/issues/626), but has not been addressed. I tried different solutions suggested by users, e.g. deploy over https instead of http etc. nothing worked so far. So please take it as a major bug as it is and address it. thank you!

Expected behavior -simple ways to turn mic on and off. -make mic or wave-recorder button work -support voice chat in general (both users and AI can talk)

Screenshots

Image Image

bigmw avatar Feb 12 '25 03:02 bigmw