Commit Graph

266 Commits

Author SHA1 Message Date
xiongziliang
77d2df1695 移除RtpSelector相关逻辑,优化代码结构 2024-06-09 10:52:10 +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
xia-chu
8ac957f338 bugfix: Fix the memory overflow issue in H264Splitter 2024-05-09 18:06:19 +08:00
gongluck
64fdd78330
修复函数mk_rtc_send_datachannel声明、定义没对应的错误 (#3508) 2024-05-06 11:07:23 +08:00
Dw9
e6506a96d4
Update h264_pusher.c, fix build issue (#3444)
修复win构建失败 strcasestr->strstr
2024-04-08 10:16:45 +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
xiongziliang
2159e90f78 Add demo of reading H.264 file and pushing RTSP/RTMP stream 2024-04-05 22:07:09 +08:00
xia-chu
af3ef996b0 Avoid build warnings in the main code 2024-03-30 14:59:28 +08:00
xia-chu
390c374086 Optimize the code
1. change param_strs to params
2. move params from MediaInfo to MediaTuple
3. passing MediaTuple as a parameter for some functions
2024-03-30 14:41:20 +08:00
xiongziliang
d8893877b2 Delete invalid code 2024-03-23 22:56:12 +08:00
johzzy
029813402d
feat: update negotiateSdp and WebRtcArgs (#3371)
- update negotiateSdp
- update HttpAllArgs and alias
- update onRtcConfigure
- define setWebRtcArgs, handle set_webrtc_cands and setLocalIp

---------

Co-authored-by: xiongziliang <771730766@qq.com>
Co-authored-by: KkemChen <kkemchen@qq.com>
2024-03-23 22:46:30 +08:00
xiongguangjie
12d9351666
Fix compile error for enable_webrtc is off ( #3393 #3397) 2024-03-22 20:41:14 +08:00
johzzy
2f50344e7b
Add ServiceController to manage PlayerProxy/PusherProxy/FFmpegSource/RtpServer services (#3337) 2024-03-10 16:31:20 +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
c83a3c5639 mk_media_source_broadcast_msg接口添加返回值 2023-09-02 13:06:42 +08:00
xia-chu
144165d537 新增mk_media_source_broadcast_msg接口
通过该接口可以广播webrtc datachannel消息给webrtc播放器
2023-09-02 12:58:20 +08:00
xia-chu
d286ac1d73 NoticeCenter支持安全类型转换,解决监听者参数类型不一致导致的bug 2023-09-02 11:22:28 +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
朱如洪
c530f281c3
优化CMakeList, 完善iOS下编译配置 (#2578)
1、调整 json 的源码引入,外部可以引入 json/json.h 使用;
2、针对 iOS 工程调整 cmake 配置,解决 iOS 环境下mk_util.h 找不到问题;同时在 iOS 工程中引入 MediaServer 静态库;
2023-06-27 10:51:31 +08:00
johzzy
03770ff409
Replace the tuple (vhost/app/stream) with MediaTuple. (#2560) 2023-06-17 10:28:01 +08:00
tbago
c0a7a4ab70
优化cmake配置文件, 添加必要头文件 (#2558)
- enable_server cmake选项生效;
- enable_tests 选项在api目录下的test同样生效;
- 增加stdio.h 防止编译失败;
2023-06-17 10:24:17 +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
xia-chu
af0ebf4633 优化Parser代码命名 2023-06-10 14:55:40 +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
夏楚
4f6e32b510
mk_media_input_aac接口可以不指定adts头(#2463)
修复issue: #2432
2023-05-14 09:57:59 +08:00
xia-chu
d2349f01bd 使用static_pointer_cast优化性能 2023-04-28 22:04:38 +08:00
xia-chu
cdf97e7605 更新zltoolkit,适配最新代码 2023-04-28 22:04:09 +08:00
xiongziliang
7a95c87a29 优化代码
空构造和析构函数替换为缺省
去除多余分号
2023-04-22 21:59:26 +08:00
Johnny
82bc416546 add exchangeSdp 2023-04-21 20:40:37 +08:00
xia-chu
a93a985ae5 修复静态类型转换错误 2023-04-18 10:54:48 +08:00
xia-chu
2f075f60ea 修复编译警告,格式化代码 2023-04-18 10:38:12 +08:00
xiongziliang
744c1427e8 gcc/clang编译环境下c sdk api导出默认可见 2023-04-02 20:58:52 +08:00
xia-chu
d818cad3c0 修复低版本gcc编译器lambda不支持可变长度模板参数捕获导致的编译问题:#2295 2023-03-12 09:39:49 +08:00
xia-chu
c2a8d46a64 提高c sdk mk_media对象线程安全 2023-03-11 11:02:20 +08:00
ziyue
56d6eb0f28 批量替换tab为4个空格 2023-03-03 15:24:12 +08:00
gongluck
91efab281e
c sdk添加安装动态库到bin目录 (#2259) 2023-02-28 23:00:59 +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