Describe the bug
Description:
I’m encountering an issue with audio recording in Gradio when using Google Chrome. The audio preview works correctly for the first one or two recordings, but after that, the preview stops working entirely.
Steps to Reproduce:
Open a Gradio app with an audio recording component.
Record audio once → preview works.
Record audio a second time → preview may still work.
Record again → preview no longer plays.
Expected Behavior:
Audio preview should work consistently after every recording.
Actual Behavior:
After a couple of recordings, the preview stops working (no playback), even though recording itself still appears to function.
Environment:
Browser: Google Chrome
OS: Web or Android
Have you searched existing issues? 🔎
Reproduction
import gradio as gr def process_audio(audio): return audio with gr.Blocks() as demo: audio_input = gr.Audio(source="microphone", type="filepath") audio_output = gr.Audio() audio_input.change(process_audio, audio_input, audio_output) demo.launch()
Screenshot
No response
Logs
System Info
Severity
Blocking usage of gradio
Describe the bug
Description:
I’m encountering an issue with audio recording in Gradio when using Google Chrome. The audio preview works correctly for the first one or two recordings, but after that, the preview stops working entirely.
Steps to Reproduce:
Open a Gradio app with an audio recording component.
Record audio once → preview works.
Record audio a second time → preview may still work.
Record again → preview no longer plays.
Expected Behavior:
Audio preview should work consistently after every recording.
Actual Behavior:
After a couple of recordings, the preview stops working (no playback), even though recording itself still appears to function.
Environment:
Browser: Google Chrome
OS: Web or Android
Have you searched existing issues? 🔎
Reproduction
Screenshot
No response
Logs
System Info
Severity
Blocking usage of gradio