audio_gui icon indicating copy to clipboard operation
audio_gui copied to clipboard

not working on server

Open infinite-Joy opened this issue 4 years ago • 2 comments

for some weird reason, when i deploy it in the server the JS code is not working. I can see that that script sources are given using the url_for static code

<script src="{{ url_for('static', filename='recorder.js') }}"></script>

To be specific "start listening" or unpause function is working but the other functions are not working.

I am trying by running a simple python main.py command in the server.

infinite-Joy avatar Apr 03 '21 11:04 infinite-Joy

Did you check the developer console in your browser. Are there any messages?

danijel3 avatar Apr 05 '21 07:04 danijel3

there are messages. i was actually getting this error.

https://stackoverflow.com/questions/28991835/firefox-navigator-getusermedia-is-not-a-function

the solutions described did not work. I think the main issue is that chrome and mozilla disabled mediafile if the server is not https. I just want a basic api for a couple of my friends and dont want to setup a full https based website. searching for an alternate solution now.

infinite-Joy avatar Apr 11 '21 14:04 infinite-Joy