mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-13 15:14:49 -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
|
||||
* Adjust the route getProfileBusiness to fetchProfileBusiness
|
||||
* 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)
|
||||
|
||||
|
@ -1158,7 +1158,7 @@ export class WAStartupService {
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
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) => {
|
||||
fs.unlinkSync(tempAudioPath);
|
||||
if (error) reject(error);
|
||||
|
BIN
temp/audio.opus
BIN
temp/audio.opus
Binary file not shown.
Loading…
Reference in New Issue
Block a user