cordova-plugin-media icon indicating copy to clipboard operation
cordova-plugin-media copied to clipboard

Record from Bluehooth / Headset / Headphones?

Open viking2917 opened this issue 5 years ago • 0 comments

Bug Report

Problem

When using this plugin with a device connected to a bluetooth headset, the play() method outputs to the headset (as expected), not the device's speaker, but the .startRecord()/.stopRecord sequence does not capture sounds being played through the headsets. (the use case: to capture a snippet of sound being played back).

Is this expected? I don't know if this is a bug or a feature :) but there appears to be no configuration option to record from the bluetooth channel.

What is expected to happen?

The recording should capture the sound (and input if it exists) from the Bluetooth headset.

What does actually happen?

The recording only captures sound from the device's speaker.

Information

Command or Code

Environment, Platform, Device

Version information

Checklist

  • [ x] I searched for existing GitHub issues
  • [ ] I updated all Cordova tooling to most recent version
  • [ ] I included all the necessary information above

viking2917 avatar May 21 '19 18:05 viking2917