apache / apache/cordova-plugin-media

Add option to change Sampling- and Bitrate

Open
#184 5 comments 5 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.