audio-recorder-polyfill
audio-recorder-polyfill copied to clipboard
Recorded File from library has no audio in it. If we display video stream in iPhone and record audio separately.
I had the requirement to record video of the user. As video recording is not supported in iPhone browsers so I used this library to record audio only and take snapshots from video stream. The issue I am currently facing is that this polyfill library gives me a file after recording is completed but with no audio in it. The size and duration of the file is as it is expected to be. All this works fine on other devices even on MacOS Safari but on iPhone safari, it doesn't work.
I think the problem is that video is utilizing both video and audio streams, and when we record access audio stream via polyfill it doesn't give any sound to it or stream with no data
Here is an issue with more details and advices
https://github.com/ai/audio-recorder-polyfill/issues/4
Closing this because it is dublicate.
I reckon this is not duplicate. When I record audio on iPhone safari without displaying video stream, it works like a charm
It even works well on Mac Safari with Video Stream being displayed to user (as I explained in description above). The issue is with iPhone only