Commit Graph

147 Commits

Author SHA1 Message Date
alex
ea263b9205 Translate comments in api/include/mk_recorder.h 2024-10-18 21:49:34 +08:00
Lidaofu
fdbf77d46d
feat: add mk_load_mp4_file c api(#3964)
Some checks are pending
Android / build (push) Waiting to run
CodeQL / Analyze (cpp) (push) Waiting to run
CodeQL / Analyze (javascript) (push) Waiting to run
Docker / build (push) Waiting to run
Linux / build (push) Waiting to run
macOS / build (push) Waiting to run
Windows / build (push) Waiting to run
Co-authored-by: lidaofu <lidf@ahtelit.com>
Co-authored-by: xia-chu <771730766@qq.com>
2024-10-18 21:48:42 +08:00
alex
4152dcd409
AI automatically translates all comments in the code into English (#3917) 2024-09-19 14:53:50 +08:00
Lidaofu
c409fc5754
确保start_send_rtp相关c api线程安全,同时新增多个接口支持指定配置参数 (#3838)
修复被动tcp发送rtp问题 修改默认tcp send 5s超时设置 增加start_send更多参数配
2024-08-22 21:12:06 +08:00
xia-chu
81aef25583 整理startSendRtp相关接口,新增支持udp被动模式
startSendPassive接口指定is_udp为1时则为开启udp被动模式, 被动模式下需要对方先发数据给zlmediakit,然后才能回复rtp数据;
同时在被动模式指定src_port时,不再等待对方连接成功后再返回(而是直接返回成功和端口号,失败通知请监听on_send_rtp_stopped hook)。
2024-07-28 23:37:13 +08:00
xia-chu
3be77616e7 修复链接问题 2024-07-21 22:51:20 +08:00
xia-chu
9463d1291d 修复编译警告 2024-07-21 19:47:36 +08:00
zhang2349
c72e576420
rtp server新增支持自定义vhost和app名称 (#3693)
代码来自https://github.com/ZLMediaKit/ZLMediaKit/pull/3446 , 增加了vhost
2024-07-09 10:42:10 +08:00
benshi
fb49515baa
添加从mk_parser循环获取所有header的接口 (#3692)
add mk_api: 添加从mk_parser循环获取所有header的接口
2024-07-05 20:56:23 +08:00
Lidaofu
5a717186dd feat: 增加拉流代理rtsp时提供倍速功能支持 (#3669)
Co-authored-by: lidaofu <lidf@ahtelit.com>
2024-06-28 16:08:08 +08:00
Lidaofu
ad7b28bb0a
补充mk_track、mk_media部分c api (#3628)
Co-authored-by: lidaofu <lidf@ahtelit.com>
Co-authored-by: xiongziliang <771730766@qq.com>
2024-06-15 15:55:39 +08:00
xiongziliang
b720ec7eff 新增mk_proxy_player_set_on_play_result代理失败回调接口 2024-06-09 18:47:20 +08:00
Lidaofu
49dfccd56f
补充C API拉流代理缺少retry_count重试次数配置 (#3584)
Co-authored-by: 李道甫 <lidf@ahtelit.com>
2024-05-30 10:49:05 +08:00
PioLing
0935da60a3
feat: Add on_mk_get_statistic_cb c api to obtain performance statistics data (#3549) 2024-05-19 10:30:29 +08:00
Lidaofu
18c5bb3670
添加C API on_record_ts 回调ts录像信息 (#3520)
用时合并on_record_mp4相关接口

Co-authored-by: 李道甫 <lidf@ahtelit.com>
2024-05-10 14:27:23 +08:00
lidaofu-hub
071f008108
add c api for MediaSource (#3433)
补充MediaSource C API  获取源地址 获取源类型  获取创建时间戳

---------

Co-authored-by: 李道甫 <lidf@ahtelit.com>
2024-04-05 22:09:40 +08:00
xia-chu
af3ef996b0 Avoid build warnings in the main code 2024-03-30 14:59:28 +08:00
gongluck
5a6364bae2
Add datachannel c apis and callbacks(#3328)
增加datachannel数据收发的回调通知 #3326,和控制datachannel回显的开关

---------

Co-authored-by: xiongziliang <771730766@qq.com>
2024-03-02 16:52:51 +08:00
lidaofu-hub
4d28b99780
Add mk_proxy_player_create2 for support more proxy options (#3262) 2024-02-04 23:15:11 +08:00
夏楚
bbe8f4a018
release 8.0 2023-12-09 16:23:51 +08:00
xiongziliang
f6b6fe04cd 新增mk_publish_auth_invoker_do2接口,支持精细化控制推流转协议设置 2023-11-12 21:24:02 +08:00
xia-chu
144165d537 新增mk_media_source_broadcast_msg接口
通过该接口可以广播webrtc datachannel消息给webrtc播放器
2023-09-02 12:58:20 +08:00
xia-chu
f55e13f9da c sdk新增on_mk_media_send_rtp_stop事件回调 2023-07-08 22:34:09 +08:00
xia-chu
e6a19c4ecc 修复c api录制相关接口线程安全问题 2023-07-08 22:12:56 +08:00
xiangshengjye
7c6b612a4d
c sdk新增mpeg-ps/ts打包接口 (#2620) 2023-07-06 14:11:21 +08:00
xia-chu
3259bac046 c sdk新增mk_frame_merger接口 2023-07-02 12:25:30 +08:00
xia-chu
72ba87c803 修复mk_media_source_get_track接口崩溃问题:#2552 2023-06-17 09:14:51 +08:00
xia-chu
24fb666fb3 新增mk_media_source_get_track方法: #2530 2023-06-10 14:57:47 +08:00
Johnny
0232caf068 add MediaTuple 2023-05-30 11:01:27 +08:00
xia-chu
936babf459 新增mk_media_source_find2接口 2023-05-25 16:57:03 +08:00
xia-chu
d4f8017117 修复mk_tcp_session_ref相关接口误导性注释 2023-05-24 10:50:49 +08:00
xiongziliang
744c1427e8 gcc/clang编译环境下c sdk api导出默认可见 2023-04-02 20:58:52 +08:00
xiongziliang
dc8508c58f 完善c sdk对象描述元信息,防止隐式指针转换错误
void* 类型指针很容易存在隐式转换错误,用户无法察觉
2023-02-26 21:45:14 +08:00
ziyue
2f090e33cf 新增c sdk api,防止user_data导致的内存泄露 2023-02-11 15:14:18 +08:00
ziyue
5078723236 新增mk_http_body无拷贝创建api 2023-02-11 11:55:06 +08:00
ziyue
56586189cf 完善h264/h265分帧逻辑,更新h264文件直播测试程序 2023-02-11 11:43:41 +08:00
ziyue
0773e79fd1 新增自定义转协议创建mk_media接口 2023-02-11 11:40:32 +08:00
ziyue
9629dbd969 新增mk_ini配置文件相关接口 2023-02-11 11:39:26 +08:00
ziyue
b3ba6d4214 完善mk_transcode相关接口 2023-02-11 11:35:37 +08:00
xiongziliang
a916760ac3 整理webrtc c接口 2022-10-06 12:35:14 +08:00
gongluck
426d76f05c 增加通过offer获取answer的接口,不依赖http模块
(cherry picked from commit 94d0505ea6)
2022-10-06 12:35:02 +08:00
Dw9
43bf7c7918 c api support srt server 2022-09-22 21:18:34 +08:00
custompal
d853075175
RtpServer新增tcp主动模式支持 (#1938) 2022-09-09 10:56:28 +08:00
huangxiuqi
258a4dd166
C API和WebHook未找到流回调添加直接关闭机制 (#1948) 2022-09-09 10:55:35 +08:00
xiongziliang
c2ab45f78d 完善线程安全设计 2022-08-27 10:17:06 +08:00
ziyue
9c3b8a6a95 时间戳改为64位 2022-08-08 17:13:39 +08:00
ziyue
2bd52fa93d 隐藏c sdk中webrtc相关代码 2022-08-01 17:27:34 +08:00
Dw9
40099df3c0 c api支持从mp4推送rtp 2022-07-24 08:51:11 +08:00
夏楚
e2908e9775
cmake构建时自动生成mk_export头文件,解决msvc链接设备问题 (#1660)
* 解决msvc下链接问题
* CMAKE添加自动生成mk api export头文件
* 兼容非cmake构建时情况

Co-authored-by: baiyfcu <baiyfcu@gmail.com>
2022-05-26 20:30:43 +08:00
ziyue
59ff0a9a1a 添加utf-8 bom头,解决msvc下编译问题 2022-05-26 11:00:48 +08:00