V
V
Viktor2017-05-31 16:41:26
HTML
Viktor, 2017-05-31 16:41:26

How to choose which speaker to play sound in cordova?

I'm doing a video chat on cordova and want to control which speaker to output sound from. So that you can press at the time of the conversation and there was a speakerphone, press again and the normal mode.
I found the plugin https://github.com/SebastianMB-IT/audiotoggle and it does everything as it should, except that the sound playback mode affects not only my application but also the system settings. This is not convenient because I want me not to affect the sound modes in other applications.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question