mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-21 11:37:23 -06:00
fix sending narrated audio on whatsapp android and ios
This commit is contained in:
parent
2847a95c57
commit
9201bc1022
@ -19,6 +19,7 @@
|
|||||||
* tweaks in docker-compose to pass variables
|
* tweaks in docker-compose to pass variables
|
||||||
* Adjust the route getProfileBusiness to fetchProfileBusiness
|
* Adjust the route getProfileBusiness to fetchProfileBusiness
|
||||||
* fix error after logout and try to get status or to connect again
|
* fix error after logout and try to get status or to connect again
|
||||||
|
* fix sending narrated audio on whatsapp android and ios
|
||||||
|
|
||||||
# 1.0.9 (2023-06-10)
|
# 1.0.9 (2023-06-10)
|
||||||
|
|
||||||
|
@ -1158,7 +1158,7 @@ export class WAStartupService {
|
|||||||
|
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
exec(
|
exec(
|
||||||
`${ffmpegPath.path} -i ${tempAudioPath} -vn -c:a libopus -b:a 128k -ar 48000 ${outputAudio} -y`,
|
`${ffmpegPath.path} -i ${tempAudioPath} -c:a libopus ${outputAudio} -y`,
|
||||||
(error, _stdout, _stderr) => {
|
(error, _stdout, _stderr) => {
|
||||||
fs.unlinkSync(tempAudioPath);
|
fs.unlinkSync(tempAudioPath);
|
||||||
if (error) reject(error);
|
if (error) reject(error);
|
||||||
|
BIN
temp/audio.opus
BIN
temp/audio.opus
Binary file not shown.
Loading…
Reference in New Issue
Block a user