Have done the advance of js audio compression: can javascript compress the recorded binary audio? At present, it is hoped that it will be in AAC format and transferred to the background to reduce traffic consumption.

problem description

can javascript compress recorded binary audio? At present, it is hoped that it will be in AAC format and transferred to the background to reduce traffic consumption

the environmental background of the problems and what methods you have tried

the requirement of the current project is to transmit the audio to the background in real time, which I have solved with websocket. I use the original binary audio recorded by h5 and transferred to the background using arrbuffer format

related codes

/ / Please paste the code text below (do not replace the code with pictures)
No code for now

what result do you expect? What is the error message actually seen?

currently, it is expected to be in AAC format and transferred to the background to reduce traffic consumption

Aug.05,2021

is basically impossible. To convert aac, in a browser environment, you need to write an aac encoder with js, but this will be limited by licensing and patents
https://en.wikipedia.org/wiki.
However, a patent license is required for all manufacturers or developers of AAC codecs.
however, All manufacturers or developers of AAC codecs require a patent license.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e45e5f-4c278.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e45e5f-4c278.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?