Files
utun2/tools/chatgui-android/libutun_lite/video_sender.h
T
evgeny be295f768c feat(chat): add local DM deletion and improve Android member list
Delete local conversations atomically, retain replay protection and sequence counters, and guard asynchronous media work by history generation. Add Android avatar menu and confirmation, persistent file cleanup, and regression coverage.

Fix unnamed member wire padding and compact Android member action spacing.

Validation: 158 core tests passed; targeted DM tests, desktop build, Android unit tests and debug APK build passed.
2026-10-18 02:04:05 +02:00

21 lines
958 B
C

/* Отправка подготовленного MP4 в канал или dm:conv_id через общий attachment_send.
* Android передаёт duration_ms/width/height; повторного транскодирования здесь нет. db_path не используется.
* 0 = запрос поставлен в uasync, -1 = отказ. Передаётся владение временным cache-файлом:
* задача удаляет src_file_path после подготовки. Результат публикации приходит событием ядра. */
#ifndef VIDEO_SENDER_H
#define VIDEO_SENDER_H
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
int video_send(const char* channel_id, const char* src_file_path, const char* db_path,
int duration_ms, int width, int height, const uint8_t reply_to[32], uint64_t request_id, uint64_t generation);
#ifdef __cplusplus
}
#endif
#endif