apache / apache/cordova-plugin-media
Add option to change Sampling- and Bitrate
Open
platform: android
support
- Dominant language
- JavaScript
- Stars
- 391
- Forks
- 762
- PR merge metrics
- No merged PRs in 30d
Description
The default sound quality is really bad (8kHz sampling rate).
Please add an option to let us change the EncodingBitRate and SamplingRate.
Android Example:
```
this.recorder.setAudioEncodingBitRate(192000);
this.recorder.setAudioSamplingRate(44100);
```
Contributor guide
Research direction
Locate the Android media recorder entry point and trace how EncodingBitRate and SamplingRate are currently handled; start with the existing Android example in the issue. Confirm how options are exposed to callers, then verify that recording uses both configured values instead of the defaults.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java, javascript
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100