Skip to content

Commit

Permalink
Merge pull request #60 from jeankassio/mimetype
Browse files Browse the repository at this point in the history
Change mimetype audio Message of audio/ogg to audio/aac
  • Loading branch information
jrCleber authored Aug 8, 2023
2 parents c03538c + 591acc0 commit fcb308f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/whatsapp/services/whatsapp.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,7 @@ export class WAStartupService {
? { url: data.audioMessage.audio }
: Buffer.from(data.audioMessage.audio, 'base64'),
ptt: true,
mimetype: 'audio/ogg; codecs=opus',
mimetype: 'audio/aac',
},
{ presence: 'recording', delay: data?.options?.delay },
);
Expand Down

0 comments on commit fcb308f

Please sign in to comment.