Add video attachments to chat messages
- browser uploads the source straight to MinIO via presigned PUT (type and exact size are signed, up to 100 MB); upload is confirmed once by its owner - message is created with a PROCESSING video, transcoded in the background (chatVideoExecutor): H.264/AAC, short side up to 720px, faststart, metadata (incl. location) stripped, poster frame; up to 60 s - the updated message is re-broadcast over WebSocket when READY or FAILED; stuck processing is failed after 30 min - message_attachments: status, poster_key, duration_ms, processing_started_at - chat deletion and orphan cleanup handle video posters; rate limit chat-video Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package com.krylov.refound.enums;
|
||||
|
||||
/** Тип вложения сообщения чата. VIDEO появится вторым этапом. */
|
||||
/** Тип вложения сообщения чата. */
|
||||
public enum AttachmentKind {
|
||||
PHOTO
|
||||
PHOTO,
|
||||
VIDEO
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user