codekraft-studio / codekraft-studio/vue-record
Blob file is video/webm instead of audio/mp3, is there possibility to record in mp3?
- 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;
},
```

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