streamer45 / mattermost-plugin-voice

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

Works intermittently #15

Open robertoschiano68 opened 4 years ago

robertoschiano68 commented 4 years ago

I installed the plug-in on my server (Ver.5.21). I have tried the web app, many browsers and many PCs. The app often starts but doesen't start counting the time for audio recording. Then I try again after a few hours and instead it works. The configuration options aren't many and it is difficult to make mistakes ... Has this happened to anyone?

bl33d commented 4 years ago

Same.

streamer45 commented 4 years ago

@robertoschiano68

Could you provide a JS console log and some screenshots?

SrMouraSilva commented 3 years ago

Hi @streamer45, it also occurs with me:

First, I need to explain another bug:

  1. Open the mattermost in a channel.
  2. Press the reply \ image
  3. The thread area will be opened \ image
  4. Try to "talk" a new message (in the main area, not in the thread/reply area) \ image
  5. The message appears in the thread area! image

Now, let's go to the current bug

  1. Open a channel
  2. Click to reply to open the reply/thread area
  3. Go to another channel. Note that the "reply/thread area" is about the first opened area
  4. Try to send the audio voice
  5. A 400 Bad request will appears into the console

Request payload

{"channel_id":"id A","root_id":"id B","message":"Voice Message","type":"custom_voice","props":{"fileId":"nyynpud75jrru8zz4mrmsdbn1e","duration":3539}}

Response payload

{"id":"api.post.create_post.channel_root_id.app_error","message":"ChannelId inválido para o parâmetro RootId.","detailed_error":"","request_id":"...","status_code":400}
streamer45 commented 3 years ago

@SrMouraSilva

I think this is a known issue/bug. To verify can you try the same but instead of clicking the "Voice message" from the menu try issuing the /voice slash command and see if it works instead.

SrMouraSilva commented 3 years ago

Hi, @streamer45

When I reply the steps but using /voice, it works like a charm.