Compare commits

...

2 Commits

Author SHA1 Message Date
alex
8e9c60741b
Merge ea263b9205 into 51f49d3a89 2024-11-13 20:08:16 +08:00
alex
ea263b9205 Translate comments in api/include/mk_recorder.h 2024-10-18 21:49:34 +08:00

View File

@ -19,7 +19,8 @@ extern "C" {
#endif #endif
// /////////////////////////////////////////flv录制///////////////////////////////////////////// [AUTO-TRANSLATED:a084663f] // /////////////////////////////////////////flv录制///////////////////////////////////////////// [AUTO-TRANSLATED:a084663f]
// /////////////////////////////////////////flv录制///////////////////////////////////////////// // /////////////////////////////////////////flv录制///////////////////////////////////////////// [AUTO-TRANSLATED:dbe04ff9]
// /////////////////////////////////////////FLV recording/////////////////////////////////////////////
typedef struct mk_flv_recorder_t *mk_flv_recorder; typedef struct mk_flv_recorder_t *mk_flv_recorder;
@ -64,7 +65,8 @@ API_EXPORT void API_CALL mk_flv_recorder_release(mk_flv_recorder ctx);
API_EXPORT int API_CALL mk_flv_recorder_start(mk_flv_recorder ctx, const char *vhost, const char *app, const char *stream, const char *file_path); API_EXPORT int API_CALL mk_flv_recorder_start(mk_flv_recorder ctx, const char *vhost, const char *app, const char *stream, const char *file_path);
// /////////////////////////////////////////hls/mp4录制///////////////////////////////////////////// [AUTO-TRANSLATED:99c61c68] // /////////////////////////////////////////hls/mp4录制///////////////////////////////////////////// [AUTO-TRANSLATED:99c61c68]
// /////////////////////////////////////////hls/mp4录制///////////////////////////////////////////// // /////////////////////////////////////////hls/mp4录制///////////////////////////////////////////// [AUTO-TRANSLATED:0f2773b8]
// /////////////////////////////////////////HLS/MP4 recording/////////////////////////////////////////////
/** /**
* *
@ -133,6 +135,15 @@ API_EXPORT int API_CALL mk_recorder_stop(int type, const char *vhost, const char
* @param file_path * @param file_path
* @param file_repeat * @param file_repeat
* @param ini * @param ini
* Load MP4 list
* @param vhost Virtual host
* @param app App
* @param stream Stream ID
* @param file_path File path
* @param file_repeat Loop demux
* @param ini Configuration
* [AUTO-TRANSLATED:2fa2d09a]
*/ */
API_EXPORT void API_CALL mk_load_mp4_file(const char *vhost, const char *app, const char *stream, const char *file_path, int file_repeat); API_EXPORT void API_CALL mk_load_mp4_file(const char *vhost, const char *app, const char *stream, const char *file_path, int file_repeat);
API_EXPORT void API_CALL mk_load_mp4_file2(const char *vhost, const char *app, const char *stream, const char *file_path, int file_repeat, mk_ini ini); API_EXPORT void API_CALL mk_load_mp4_file2(const char *vhost, const char *app, const char *stream, const char *file_path, int file_repeat, mk_ini ini);