streamer45 / mattermost-plugin-voice

Mattermost plugin for voice messaging. :microphone: :sound:
MIT License
81 stars 20 forks source link

Sound Plugin doesn't work #11

Closed korean936 closed 4 years ago

korean936 commented 4 years ago

I tried to install the plugin on Mattermost 5.21.0 running on Ubuntu server 18.04. The install works fine but when I click on the icone in Mattermost chat I see this but nothing happens, the time still block at 0:00 and the browser doesn't ask autorization for mic. image

Can you please help?

streamer45 commented 4 years ago

@korean936

Thank you for the report. I will look into this and let you know.

korean936 commented 4 years ago

@streamer45 Thank you for your work :)

streamer45 commented 4 years ago

@korean936

I couldn't reproduce this problem so far. Also testing on 5.21. It would be helpful to know more info about your setup. Browser type and version. Operating system. Also the console log output (CTRL+Shift+i) would be extremely useful to figure out what's blocking the recording.

korean936 commented 4 years ago

Hi,

I got this in the console :

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:635)
    at Object.s (react-dom.production.min.js:14)
    at _ (react-dom.production.min.js:15)
    at react-dom.production.min.js:15
    at w (react-dom.production.min.js:17)

The server is on : Debian 10 Buster The client is on : Windows 10 Pro v1909

The browser is : Opera 67.0.3575.115 But I also tried on chrome and firefox, i got the same issue.

streamer45 commented 4 years ago

I believe it might be the same problem as https://github.com/streamer45/mattermost-plugin-voice/issues/4 . Capturing a microphone is not allowed on insecure connections. You need your server to be running on HTTPs.

korean936 commented 4 years ago

Oh ok I didn't notice that Thank you

streamer45 commented 4 years ago

Closing this since it's not really a bug or something we can fix.