[Feature Request] Convert voice/video to the required format
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
asisflag - [ ] 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
chromiumbased ask usingdevlikeapro/waha-plus:chromedocker image