muaz-khan / RecordRTC

RecordRTC is WebRTC JavaScript library for audio/video as well as screen activity recording. It supports Chrome, Firefox, Opera, Android, and Microsoft Edge. Platforms: Linux, Mac and Windows.
https://www.webrtc-experiment.com/RecordRTC/
MIT License
6.52k stars 1.75k forks source link

[IOS Safari] [Bluetooth HeadSet] empty blob/zero byte after recording audio with recordRTC #705

Open jainketan6333 opened 3 years ago

jainketan6333 commented 3 years ago

Hello Team,

I am getting an empty blob or zero bytes after recording audio with recordrtc on IOS Safari(v14) with Bluetooth devices eg: Airpods pro, Samsung galaxy earbuds. When I record audio with Airpods 2 then I get distorted audio. It works fine when I record audio with an external microphone or default iPhone microphone.

Browser/Environment Details Operating System- IOS v14.1 Browser - Safari

Recordrtc Options: recorderType = StereoAudioRecorder; mimeType = 'audio/wav'; disableLogs = true; timeSlice = 10000; checkForInactiveTracks = true; desiredSampRate = 16000; numberOfAudioChannels = 1;

@muaz-khan It is quite important for me, please help me with this asap

lokesh-mds commented 3 years ago

Hi @jainketan6333 - did you find any solution for this?

vin-ni commented 3 years ago

+1

jainketan6333 commented 2 years ago

@lokesh-mds not yet

@muaz-khan any update on this ?

pf-costa commented 2 years ago

Same problem here

wacioc commented 1 year ago

Same

vitasya commented 9 months ago

Hello. Instead of mimeType 'audio/wav' try 'audio/mp4' - this worked for me