airmessage / airmessage-server

AirMessage's native message relay server for Mac
Apache License 2.0
183 stars 12 forks source link

12.3.1 - server 3.4.1 image/audio/video sending/encoding issues #8

Closed working-name closed 2 years ago

working-name commented 2 years ago

UPDATE: forget everything, I went for alpha 8 and everything sends correctly. Great job!

Hi there,

Cool piece of software, like it. Installed it and the android app. It only syncs 4-5 conversations from the whole bunch but it's fine, will deal with that later.

The main issue is only text goes through. I tried to send a picture, a video, and an audio message. All 3 display a progress bar in messages that is never ending.

In the logs I see airmessage attempting to convert the amr to aaf but it fails or something goes wrong because the file that makes it into messages is an amr.

Images attached are in an odd encapsulation or sending method, they appear as regular files that cannot be previewed. However, if I double click that file and then drag & drop it from preview back to the same conversation it sends as a normal JPEG with preview, normally.

Videos I have not been able to send, they never finish sending.

My suggestion would be to either bundle an ffmpeg or require it to convert to an idevice-friendly mp4 format, and maybe do an image conversion with apple's own utility (I forget the name) before sending it out. That way it would be consistent with what you are attempting to do with audio (amr->aaf)

latest.log.zip

image-fails-to-send