Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

367
Vistas
How to play sound through the device's speakers even when connected to radio/bluetooth in the car?

When my mobile device is connected to my car's bluetooth and configured on radio (FM) and not (BT), the sounds of the device are not getting played, either from the car's speakers or from the device's speakers.

I am playing audio via JS like that:

import sound from '../my-sound.mp3'
const audio = new Audio(sound)
audio.play()

The sound works both on foreground and background, but not when connected to the car's bluetooth.

I do aware that this feature exists, as it is getting used in Waze and even when connecting to radio and hearing music, the Waze's vocal instructions are getting played through the physical device's speakers. They also have the ability to configure this option, like showed in the following screenshot:

enter image description here

I am using Cordova as well, so any implementation or solution either in JS or Cordova is welcome.

In Cordova I am using the official device media plugin, but couldn't find any option to achieve what I need..

I also looked on the Web API: https://developer.mozilla.org/en-US/docs/Web/API but unfortunately it's completely complex and complicated so I barely could understand anything...

about 4 years ago · Santiago Gelvez
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda