Skip to content

Unexpected behavior while audio recording. #22

@rishabhlingam

Description

@rishabhlingam

study_patner-audio_record-SS

Assuming that

  • restart button restarts the entire audio recording from the beginning.
  • start/stop button starts and pauses the audio recording.
  • play button plays the audio recorded till now.

The Bug

The present recorded audio gets concatenated to the previously recorded audio after pressing the restart button.

Steps to reproduce the Bug:

  1. record audio.
  2. directly press the restart button.
  3. record the audio again.
  4. press the play button, you will hear the concatenated recording of both audios.

Expected behavior

Only the recent recorded audio should be played when the play button is pressed.

Additional context

This bug is produced only when you directly press restart and start recording again.
If the audio is played (play) after the first recording and then rerecorded, this bug is not reproduced.
Only the recent audio is played.

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