Skip to content

Microphone cannot be stopped after starting without permissions #2325

@osanseviero

Description

@osanseviero

Describe the bug

(internal discussion)

Using the microphone component in any Gradio app (such as https://huggingface.co/spaces/ysharma/Talk_to_Multilingual_AI_WhisperBloomCoqui), in Chrome, without microphone permissions, allows me to click "Record from microphone". Afterward, I cannot click "Stop recording".

The UX should not have allowed me to click "Record", as I didn't give permission. Being stuck in recording was very confusing

Is there an existing issue for this?

  • I have searched the existing issues

Reproduction

Any gradio app, e.g. https://huggingface.co/spaces/ysharma/Talk_to_Multilingual_AI_WhisperBloomCoqui

Screenshot

No response

Logs

-

System Info

Any version, Chrome

Severity

annoying

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions