Refresh both AGENTS guides and clarify module purpose, usage, ownership, threading, return values and wire formats in headers. Remove the unused timeout_heap freed_count field and unimplemented getter.
20 lines
868 B
C
20 lines
868 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
|
|
|
|
#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);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|