Skip to content

I want to alert the user and retry reconnecting the microphone when the _audio_data_worker of AudioToTextRecorder disconnects. #272

@sangheonEN

Description

@sangheonEN

Hello?

The AudioToTextRecorder class seems to have a lot of responsibilities.

If the microphone connection is lost during program execution in _audio_data_worker, I think I need exception handling to reconnect it.

However, I implemented the exception handling to attempt to reconnect the microphone.

Is there a way to notify the user that the microphone has been disconnected?

I'll share the code I implemented. I tested it with a fairly old version, so it's different from the current source code. Could you review the code to see if I can implement the code to attempt to reconnect the microphone based on _audio_data_worker and add a warning to the user that they need to try again?

audio_recorder.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions