apache / apache/cordova-plugin-media
Record from Bluehooth / Headset / Headphones?
- Dominant language
- JavaScript
- Stars
- 391
- Forks
- 762
- PR merge metrics
- No merged PRs in 30d
Description
# 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
Contributor guide
Research direction
Start with the plugin's play(), .startRecord(), and .stopRecord() entry points and reproduce the sequence with a Bluetooth headset connected. Check how recording and playback routes are selected on the affected device; done means the Bluetooth capture behavior is established and the issue is resolved or its supported limitations are documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100