Open Ngebab opened 8 months ago
The official phone app is very picky about the audio format. Setting the mime-type and hoping for the best is not enough. It must absolutely be an ogg container with the opus compression at 16 kHz and exactly one channel. I recommend using ffmpeg: ffmpeg -i yourinput -ac 1 -ar 16000 -c:a libopus voicemessage.ogg
. I had users trying to send an MP3 or AAC file. This cannot be expected to work (even if other clients can support more formats due to auto-detection).
Reports from iOS users indicate, that values for the waveform diagram must be supplied for the message to be regarded as a "ptt" voice message.
Hello so I tried sending an audio using bytes. It works but only for whatsapp web and whatsapp desktop, when I tried to play it on my phone it would make no audio
this is my code (Im using wasock which is whatsmeow with added feature)