Files
buzz/crates
Bradley Axen f20a055bf5 feat(media): accept audio-only AAC MP4 uploads as audio/mp4
Voice notes currently have to be wrapped in a 16x16 black H.264 video
(via a user-installed ffmpeg) because the relay rejects every audio
upload. Accept an MP4 with exactly one AAC track and no video as
audio/mp4 (.m4a), through the same fast-start, metadata, location and
track checks as video. Allow audio/mp4 in imeta with duration, and
allow the NIP-A0 waveform field the desktop voice-note sender emits.

Co-authored-by: mbot <3754f8729004d95654c46dbab3129e4ab9ef05cc2534e2a3fbfc155983bd637b@buzz.block.builderlab.xyz>
Signed-off-by: Bradley Axen <baxen@squareup.com>
2026-11-22 13:09:31 -08:00
..