Compare commits

...

2 Commits

Author SHA1 Message Date
alex
efac670778
Merge ea263b9205 into cc590254a6 2024-10-30 15:48:51 +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
// /////////////////////////////////////////flv录制///////////////////////////////////////////// [AUTO-TRANSLATED:a084663f]
// /////////////////////////////////////////flv录制/////////////////////////////////////////////
// /////////////////////////////////////////flv录制///////////////////////////////////////////// [AUTO-TRANSLATED:dbe04ff9]
// /////////////////////////////////////////FLV recording/////////////////////////////////////////////
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);
// /////////////////////////////////////////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_repeat
* @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_file2(const char *vhost, const char *app, const char *stream, const char *file_path, int file_repeat, mk_ini ini);