streamer45/mattermost-plugin-voice

Getting error while recording audio.

AnshulJain1985 opened this issue · 5 comments

Hi

I am getting error while trying to record sound. tried on mobile and chrome and safari.
Also gave permission to record audio.
Can you please check.
com.mattermost.voice_5e23551578f984bc_bundle.js:1 Uncaught (in promise) Error: unsupported
at n._startCapture (com.mattermost.voice_5e23551578f984bc_bundle.js:1)
at n.start (com.mattermost.voice_5e23551578f984bc_bundle.js:1)
at Object.startRecording (com.mattermost.voice_5e23551578f984bc_bundle.js:9)
at com.mattermost.voice_5e23551578f984bc_bundle.js:9
at Object.e.registerFileUploadMethod.M.id [as action] (com.mattermost.voice_5e23551578f984bc_bundle.js:9)
at onClick (file_upload.jsx:633)
at Object. (react-dom.production.min.js:14)
at M (react-dom.production.min.js:15)
at react-dom.production.min.js:15
at y (react-dom.production.min.js:17)

Hi, same problem. Any solution?

Same here, while trying with Firefox 74 for Ubuntu :-(

@AnshulJain1985

Thank you for your report. I apologize for the very late reply. I'll look into this and let you know.

From the error it looks like the browser is either very outdated or you are running on an insecure website.
For the capture to be possible the connection to the server needs to be secured (use HTTPs).
This is a browser limitation/security feature so nothing we can fix. More info here.