-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Audio stream from microphone #1
Comments
Hey @olyaee 👋 I haven't tried that tbh. Let me check if it can be done. |
Hey @olyaee I started looking into it, but since the Deepgram docs now support only their V3 SDK, and my app runs on V2, I'll first work on upgrading it to V3. Meanwhile, if you are interested in giving this a shot, I'd recommend using streamlit-webrtc to collect streaming audio chunks and then pass them over to Deepgram as described in this guide: https://developers.deepgram.com/docs/getting-started-with-the-streaming-test-suite. If you are able to implement something, I'ld love to work together to add this feature to the updated app with Deepgram SDK v3 :) |
Hey @olyaee , I've updated the app to support Deepgram SDK v3. Regarding streaming from a microphone, Deepgram provides an interface to stream input from the microphone: https://github.com/deepgram/deepgram-python-sdk/blob/main/examples/streaming/microphone/main.py However, this uses PyAudio that does not work with Streamlit: https://discuss.streamlit.io/t/help-with-using-pyaudio/39961 Given that experimenting with streamlit-webrtc will take considerable effort, I am unlikely to start unless this feature gets more requests or someone volunteers to help with a PR. |
what about using the Stream sound from browser microphone and proxy it? |
@idotr7 - you mean using WebRTC? |
i tried it, and it seems the webrtc component is out dated or some other problem. |
🤔 It seems to be pretty well maintained. |
Thank you for the updates, I am currently also packed and am not planning to modify webrtc. After looking into it, It seemed not that straight forward, so I also skipped it |
Hey,
have you tried streaming from microphone? How did it work. Im mainly interested in how to stream the audio chunks to deepgram from microphone.
Thanks,
The text was updated successfully, but these errors were encountered: