You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
868 B
19 lines
868 B
/* Отправка подготовленного 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
|
|
|