add c api for MediaSource (#3433)

补充MediaSource C API  获取源地址 获取源类型  获取创建时间戳

---------

Co-authored-by: 李道甫 <lidf@ahtelit.com>
This commit is contained in:
lidaofu-hub
2024-04-05 22:09:40 +08:00
committed by GitHub
parent 2159e90f78
commit 071f008108
4 changed files with 38 additions and 4 deletions

View File

@@ -21,10 +21,6 @@ using namespace std;
using namespace toolkit;
using namespace mediakit;
#ifndef _WIN32
#define _strdup strdup
#endif
API_EXPORT void API_CALL mk_free(void *ptr) {
free(ptr);
}