Skip to content

Infinite loading when clicking confirm audio, before allowing the microphone to be used #21078

@matheus-rn

Description

@matheus-rn

Description:

when clicking on the option to send a voice message, the timer and the options to cancel and confirm audio are shown, but also the permission prompt is displayed on the screen, if the user clicks on the option to confirm audio before allowing the use of the microphone , the loading indicator is displayed, and even after giving permission, the charging indicator still continues for an infinite time. And it is worth remembering that after confirming the permission, recording started, even if the loading indicator was active.

Steps to reproduce:

  1. Make sure the permission to use the microphone is in "ask"

  2. Click to start the audio message,

  3. Click on confirm audio message

  4. With the permissions prompt still open, click "allow"

Expected behavior:

Avoid infinite loading in the audio message

Actual behavior:

infinite loading in the audio message

image

Server Setup Information:

  • Version of Rocket.Chat Server: 3.12.0-develop
  • Operating System: MacOs
  • Deployment Method: docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Enabled
  • NodeJS Version: 12.18.3
  • MongoDB Version: 4.0

Client Setup Information

  • Desktop App or Browser Version: Chrome 89.0.4389.72
  • Operating System: macOS 10.15.4

Additional context

Relevant logs:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions