waha icon indicating copy to clipboard operation
waha copied to clipboard

[Feature Request] Convert voice/video to the required format

Open devlikepro opened this issue 1 year ago • 0 comments

Right now when you send vioce or video there's no conversion happens for most cases and it causes questions and issues

  • https://waha.devlike.pro/docs/how-to/send-messages/#send-voice-imagesversionspluspng

  • https://waha.devlike.pro/docs/how-to/send-messages/#send-video-imagesversionspluspng

  • https://github.com/devlikeapro/waha/discussions/720

  • https://github.com/devlikeapro/waha/issues/400

  • https://github.com/devlikeapro/waha/issues/284

We need to make sure we're converting the file to the right format (depending on engine) before sending it. We can add asis: False flag (should it be True or False by default?) - meaning if it's asis: True - we'll try to send file as is, without applying format convertion pipeline. But if it's False we'll adjust the payload if required before sending a voice/video message


  • [ ] Add asis flag
  • [ ] WEBJS - Automatically convert to the right format if asis: False
  • [ ] NOWEB - Automatically convert to the right format if asis: False
  • [ ] WEBJS - when "sendVideo" and docker image is chromium based ask using devlikeapro/waha-plus:chrome docker image

patron:PRO

devlikepro avatar Jan 04 '25 04:01 devlikepro