N
N
nikita25852021-02-15 16:23:45
JavaScript
nikita2585, 2021-02-15 16:23:45

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>


I tried with SCR, I tried different formats (wav) .. the result is always the same - if we record through an iPhone - the recording is everywhere, if through a computer - only on computers ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yourko, 2021-03-01
@Yourko

I solved the problem with Freemake Video Converter.
It can be downloaded from the web.
It should be used to convert the original
audio or video file compatible with the iPhone format.
I made my video for the iPhone-3G, I check
the website - everything works.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question