audio-recorder-polyfill icon indicating copy to clipboard operation
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.

Open ehsanali1992 opened this issue 5 years ago • 3 comments

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

ehsanali1992 avatar Feb 26 '20 11:02 ehsanali1992

Here is an issue with more details and advices

https://github.com/ai/audio-recorder-polyfill/issues/4

Closing this because it is dublicate.

ai avatar Feb 26 '20 17:02 ai

I reckon this is not duplicate. When I record audio on iPhone safari without displaying video stream, it works like a charm

ehsanali1992 avatar Feb 26 '20 18:02 ehsanali1992

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

ehsanali1992 avatar Feb 26 '20 18:02 ehsanali1992