Comments (6)
I was able to run streamlit over https, after obtaining certificates from Let's Encrypt using certbot and using the instructions here: https://docs.streamlit.io/library/advanced-features/https-support
Can you tell me the details of how to make it work? I also stucked by this remote macrophone problem. Thank you.
Just solved this problem.
1.Generate temporary SSL authentication
openssl genrsa 2048 > host.key
chmod 400 host.key
openssl req -new -x509 -nodes -sha256 -days 365 -key host.key -out host.cert
2.streamlit run with https
streamlit run xx.py --server.sslCertFile host.cert --server.sslKeyFile=host.key
from streamlit-audio-recorder.
I was able to run streamlit over https, after obtaining certificates from Let's Encrypt using certbot and using the instructions here: https://docs.streamlit.io/library/advanced-features/https-support
from streamlit-audio-recorder.
I think the problem is giving access to the remote site to use the microphone via the browser's security settings. With Chrome or Edge, you can only do this if the remote site uses https. And streamlit runs over http by default and that is how it is running on my remote host. I have not seen a simple way to run streamlit over https.
from streamlit-audio-recorder.
I also getting the same error "Component Error: Cannot read properties of null (reading 'getAudioTracks')" when i run the app as web application using ngrok in windows. But it is working fine locally. Even i given access to microphone in my chrome browser. Is there any solution ?
from streamlit-audio-recorder.
I was able to run streamlit over https, after obtaining certificates from Let's Encrypt using certbot and using the instructions here: https://docs.streamlit.io/library/advanced-features/https-support
Can you tell me the details of how to make it work? I also stucked by this remote macrophone problem. Thank you.
from streamlit-audio-recorder.
在使用 certbot 从 Let's Encrypt 获取证书并使用此处的说明后,我能够通过 https 运行 streamlit:https://docs.streamlit.io/library/advanced-features/https-support
你能告诉我如何让它工作的细节吗?我也被这个远程宏电话问题卡住了。谢谢。
刚刚解决了这个问题。 1.生成临时SSL身份验证 openssl genrsa 2048 > host.key chmod 400 host.key openssl req -new -x509 -nodes -sha256 -days 365 -key host.key -out host.cert 2.streamlit run with https streamlit run xx.py --server.sslCertFile host.cert --server.sslKeyFile=host.key
What's the difference between this and reverse proxy https, I use reverse proxy https and it works sometimes, but it's very unstable.
from streamlit-audio-recorder.
Related Issues (19)
- 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
- Recording permission error when running remotely. 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 HOT 1
- 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.
- Issue with using on mobile phone
- Customize the 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
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.