mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-20 19:19:24 -06:00
fix: fix audio encoding
This commit is contained in:
parent
b6c56551bc
commit
c45538684d
@ -2100,7 +2100,7 @@ export class BaileysStartupService extends WAStartupService {
|
||||
content: {
|
||||
audio: Buffer.from(audio, 'base64'),
|
||||
ptt: true,
|
||||
mimetype: 'audio/ogg; codecs=opus',
|
||||
mimetype: 'audio/mp4',
|
||||
},
|
||||
option: {
|
||||
statusJidList: status.statusJidList,
|
||||
@ -2451,7 +2451,7 @@ export class BaileysStartupService extends WAStartupService {
|
||||
{
|
||||
audio: Buffer.from(audio, 'base64'),
|
||||
ptt: true,
|
||||
mimetype: 'audio/ogg; codecs=opus',
|
||||
mimetype: 'audio/mp4',
|
||||
},
|
||||
{ presence: 'recording', delay: data?.options?.delay },
|
||||
isChatwoot,
|
||||
|
Loading…
Reference in New Issue
Block a user