Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sound Output Randomly Switches Between Main Speaker and Ear Speaker on Some Android Devices #15

Open
ARochniak opened this issue Dec 27, 2024 · 0 comments

Comments

@ARochniak
Copy link

Description:

I’ve encountered an issue where, during the usage of the package, the sound output randomly switches between the main speaker and the ear speaker on some Android devices. This happens inconsistently and seems to occur without any identifiable pattern. The expected behavior is for the sound to consistently come through the main speaker (or whichever speaker is configured).

I have tested this issue on multiple Android devices, but it only seems to happen on certain ones. On other devices, the sound behaves as expected. Unfortunately, I haven’t been able to pinpoint which devices are affected or find any logs that could explain the issue.

I have looked through the internet but I haven’t found any similar issues. I’m not sure where to start troubleshooting, and I would appreciate any guidance or assistance on how to resolve this.

Environment:

  • Package version: 0.0.4
  • Android version(s): 14
  • Affected devices: Samsung S21+ and Samsung Z Fold 6
  • Browser: Chrome (version 131.0.6778.200)

Additional Information:

I’m happy to assist in resolving the issue in any way I can, but I currently don’t know where to dig into further. Any help would be greatly appreciated.

Steps to reproduce:

  1. Clone the repo
git clone https://github.com/elevenlabs/elevenlabs-examples.git.
  1. Move into the app example
cd elevenlabs-examples/examples/conversational-ai/nextjs

3 Install dependencies

pnpm i
  1. Create .env form the .env.example
cp .env.example .env
  1. Provide env variables within the .env
  2. Run the nextjs demo
pnpm dev
  1. Refresh the page and start the conversation multiple times.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant