not working on server
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.
Did you check the developer console in your browser. Are there any messages?
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.