Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Voice chat not working?

Open gthorne opened this issue 11 years ago • 16 comments

When we click the microphone next to the 'message' box, it toggles between the microphone and stop icons. It doesn't seem to record any audio for anyone on this server, though. I checked this issues group, but couldn't find anyone else with the same issue. I'm not sure if it's a bug, or just something we've mis-configured. Is there any documentation on this feature? I searched the wiki and couldn't find anything.

gthorne avatar Oct 30 '15 17:10 gthorne

Actually doesn't seem to work on demo.rocket.chat either.

gthorne avatar Oct 30 '15 17:10 gthorne

I think #1305 is the fix for this, unless I'm mistaken. You'll need to add the wav type to the allowed uploads.

graywolf336 avatar Oct 30 '15 22:10 graywolf336

Yep, what graywolf said. Currently unless you allow wav files the audio recorder button doesn't work (it tries to upload a wav when you hit stop). Add audio/wav to your file upload whitelist for it to work(audio/* will also work but allow all audio file types to be uploaded to your server).

image

My proposed change will hide the recorder button entirely if wav uploads are disabled to help with this confusion (I hope).

emcguinness avatar Oct 30 '15 22:10 emcguinness

@emcguinness oh thnx for that, just came to my mind today to ask is there a way to upload video.

Can you write in what exactly need to be in Media Types field to have:

  • images
  • videos
  • audio
  • zip/rar

Tnx

shtefcs avatar Oct 31 '15 03:10 shtefcs

Yes, an admin has full control. If you leave the accepted media types blank, that means you accept all. Other than that you can have a comma separated list of all the file types you like. This site seems to have a good list of all the types. You can also do something like audio\* which will allow all audio types.

emcguinness avatar Oct 31 '15 18:10 emcguinness

@emcguinness Tnx for help.

I tried to add in field both image/* , video/* , audio/* , and image/*, video/*, audio/*,

When I try to upload either video or audio, it's say

shtefcs avatar Nov 03 '15 00:11 shtefcs

I know someone said they were working on it, I forget who, but that setting is not as responsive as it should be. Try restarting Rocket.Chat and that should help(this is a bug, normally you should not have to do this for a setting change).

emcguinness avatar Nov 03 '15 01:11 emcguinness

Oki, tnx.

shtefcs avatar Nov 03 '15 01:11 shtefcs

@shtefcs what type of file did you try to upload then? And what was the settings when you tried it? Just curious so I can try and replicate it to determine if I can fix it.

graywolf336 avatar Nov 03 '15 05:11 graywolf336

@graywolf336 The file type for video is this

And for audiot, I tried to record using Rocket.Chat audio recording feature.

I tried both this settings image/* , video/* , audio/* , and image/*, video/*, audio/*,

shtefcs avatar Nov 03 '15 13:11 shtefcs

Worked for me after server restart.

gthorne avatar Nov 05 '15 20:11 gthorne

@shtefcs fyi that is not the MIME type you point to in the screenshot. A restart definitely seems to fix the issue for most people. I'd recommend trying this.

geekgonecrazy avatar Nov 23 '15 04:11 geekgonecrazy

oki, audio is working now.

shtefcs avatar Nov 23 '15 12:11 shtefcs

Ok guys let me know if this issue returns. Going to go ahead and close otherwise

geekgonecrazy avatar Nov 23 '15 15:11 geekgonecrazy

Maybe add to the description of that field "A restart of your server is required after you change this."

graywolf336 avatar Nov 23 '15 15:11 graywolf336

That would be helpful. We need to do this to all that require restart

geekgonecrazy avatar Nov 23 '15 17:11 geekgonecrazy