codekraft-studio / codekraft-studio/vue-record

Blob file is video/webm instead of audio/mp3, is there possibility to record in mp3?

Open
#35 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
96
Forks
54
PR merge metrics
No merged PRs in 30d

Description

Blob file is video/webm instead of audio/mp3, is there possibility to record in mp3?

``

```
onResult(data) {
// //console.log('The blob data:', data);
// //console.log('Downloadable audio', window.URL.createObjectURL(data));
data = data.slice(0, data.size, "audio/mp3")

this.audio = window.URL.createObjectURL(data);
console.log('The blob data:', data);

this.fileaudio = data;
},
```
![image](https://github.com/codekraft-studio/vue-record/assets/15880398/465884ee-b789-4857-ab2a-3e62c676dd21)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the component and its onResult handler, then check how the MediaRecorder API determines the blob MIME type. Confirm the supported recording formats and define what browser behavior should count as done for producing an audio/mp3 result.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
audio-video-rtc, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.