Answer the question
In order to leave comments, you need to log in
Why does an audio file recorded through a computer not work on iPhones?
I can't output audio files recorded on my computer to my iPhone.
Work scenario: mediaRecorder (JS) records the sound of the user's microphone → sends a POST request to the server → PHP records the file and returns a link
Recording format: mp3
Problem: When recording sound from an iPhone, it is played on all devices.
When recording from a computer (windows / browser does not matter) - the sound is played only on other computers. On iPhones - not reproduced (in any of the browsers).
<audio controls>
<source src="https://..." type="audio/mp3">
</audio>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question