S
S
Sergey Suntsev2018-01-15 11:10:16
JavaScript
Sergey Suntsev, 2018-01-15 11:10:16

Why do my mp3 files when playing through google chrome (audio tag and through js similarly) break off at the 5th second?

Calls of managers are saved via asterisk in mp3 format to the server, because space is limited, the lowest bitrate is used. For the same reason, using the wave format will not work.
I would like to know for what reason the sound cuts off in the google chrome player, while in firefox everything plays completely.
Someone can tell me if there was a similar problem, or point to the specification of the mp3 file parameter for chrome, in order to understand what kind (in the worst case) to recode it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Shitskov, 2018-01-15
@GreyCrew

From what was found on the Internet, in case of problems with playback in the browser, it only helped to encode at 160Kbps and use the latest versions of LAME (>=3.99.5). There is a problem in Chrome.
PS Without a test sample, unfortunately it will be difficult for you to help. The asterisk community is not so big here, the probability of getting into the same problem is quite low.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question