Comments (2)
Not sure if it's related but I also had the error index.js:125 Uncaught (in promise) TypeError: Failed to execute 'createMediaStreamSource' on 'AudioContext': parameter 1 is not of type 'MediaStream'.
with the "Start Recording" button doing nothing. I solved that by simply turning off my add blocker.
I'm hosting my server with docker on an Ubuntu computer so it could not be the same problem but I guess it can be helpful for some people.
from streamlit-audio-recorder.
Hi @avidale, to ensure that 'createMediaStreamSource' can be connected successfully, I can advise you to look into these solution approaches - these may mitigate the issue at hand. Also, big thanks to @VaysseRobin for your support. 🤙🏻
-
Make sure that your deployment is configured in a way that the component targets the user's microphone (browser media-stream API) and not the microphone of the deployment server's (Azure, AWS, etc.) audio channels.
-
Ensure that your streamlit app deployment is https-enabled. Look into obtaining certificates from Let's Encrypt using certbot, follow the steps as instructed here: https://docs.streamlit.io/library/advanced-features/https-support
-
On the user's end, ensure that the web app is granted access to the user's microphone (via browser pop-up). If the pop-up doesn't appear, ensure to disable add-blockers and access the app via https.
from streamlit-audio-recorder.
Related Issues (17)
- Using the audio in Streamlit HOT 11
- draw audio waveform HOT 1
- Darkmode + opportunity to hide the waveform (display a pulsating recording red dot instead)
- Workaround for the reset button HOT 2
- the function "withStreamlitConnection" may have a problem in Remote servers HOT 1
- Audio quality
- 'wav_audio_data' is not defined
- The audio player is being displayed twice
- Downloading audio file to a server location HOT 1
- Access data from Python HOT 4
- @Paethon **Work Around (rather not elegant but functional):** You can use the current version of the component, record audio, download it and then drag the file from the browser's download preview (downloads bar bottom of the screen, left) into a streamlit file-upload component.
- repo is too large HOT 4
- Start recording automatically when the function is executed. HOT 1
- Use recorded audio as a python object HOT 3
- Trouble with app HOT 1
- Get "Component Error: Cannot read properties of null (reading 'getAudioTracks')" when run remotely HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from streamlit-audio-recorder.