Skip to content

Double Audio Generation with React Player #1756

@Lakshmi203

Description

@Lakshmi203

Description:
I've recently encountered a perplexing issue while utilizing the React Player package for audio playback. It seems that whenever I attempt to play an audio file using the package, the audio is generated twice simultaneously. This results in an undesirable experience for users, as the audio plays with an unintended echo effect.

Steps to Reproduce:

Implement React Player package in a Nextjs application.
Url passing to react player component
Observe that the audio is generated twice, leading to an echo effect.
Expected Behavior:
The React Player package should play the audio file once, producing a single instance of sound.

Actual Behavior:
The audio file is generated twice simultaneously, resulting in a double audio playback effect.

Additional Notes:

This issue persists across different browsers and operating systems.
I have attempted to troubleshoot the problem by reviewing the React Player documentation and exploring potential configuration settings, but to no avail.
It's worth noting that this issue seems to be specific to audio playback, as video playback behaves as expected without any duplication.

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