Skip to content

Commit a89398a

Browse files
committed
Fix: Change audio bitrate from 128k to 48k for PTT messages as per WhatsApp requirements
1 parent 537d500 commit a89398a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3007,7 +3007,7 @@ export class BaileysStartupService extends ChannelStartupService {
30073007
.noVideo()
30083008
.audioCodec('libopus')
30093009
.addOutputOptions('-avoid_negative_ts make_zero')
3010-
.audioBitrate('128k')
3010+
.audioBitrate('48k')
30113011
.audioFrequency(48000)
30123012
.audioChannels(1)
30133013
.outputOptions([

0 commit comments

Comments
 (0)