Commit Graph

198 Commits

Author SHA1 Message Date
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
johzzy
03770ff409
Replace the tuple (vhost/app/stream) with MediaTuple. (#2560) 2023-06-17 10:28:01 +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
夏楚
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
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
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
Dw9
9d40c82141 修复手机推rtc,其他协议拉流画面旋转 2022-12-08 21:52:55 +08:00
老衲不出家
f05a9501fa
Unified code style (#2137) 2022-12-02 14:43:06 +08:00
mtdxc
754073918a
Header refactor (#2115)
* 优化MultiMediaSourceMuxer头文件包含

* 将MediaSinkDelegate和Demux移到MediaSink中

* MediaSource头文件重构, 独立出PacketCache.h
精简Frame和Track的头文件

* Rtmp头文件重构

* Rtsp头文件重构

* webrtc头文件重构

* 规范.h头文件包含,并将其移到.cpp中:
- 尽量不包含Common\config.h
- Util\File.h
- Rtsp/RtspPlayer.h
- Rtmp/RtmpPlayer.h

* 删除多余的Stamp.h和Base64包含
2022-11-29 11:07:13 +08:00
ziyue
68948288e0 TcpSession/UdpSession统一为Session类 2022-11-19 09:33:10 +08:00
Dw9
47530ce830
新增支持webrtc over tcp模式 (#2092)
* webrtc server/session/cadidate 改为tcp

* 先屏蔽检查isCurrentThread

* 接受和发送的数据处理tcp 2字节头

* 处理rtc tcp 分片

* 完善webrtc over tcp

* 精简rtp服务器相关代码

* 适配webrtc AV1编码: #2091

* webrtc tcp模式支持Firefox

* webrtc tcp模式支持线程安全

* c sdk支持webrtc tcp

Co-authored-by: ziyue <1213642868@qq.com>
2022-11-18 22:52:57 +08:00
cqm
ac3d7bd21f add addDelegate with std::function, remove FrameWriterInterfaceHelper 2022-11-01 12:03:04 +08:00
xiongziliang
9bb4b55924 修复mk_media_start_send_rtp相关bug: #2044 2022-10-29 16:48:37 +08:00
ziyue
2b64245c14 优化代码 2022-10-08 10:47:09 +08:00
xiongziliang
5854a26047 修复未开启宏编译失败问题 2022-10-06 12:59:12 +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
ziyue
0b355759de 整理webrtc相关代码命名空间 2022-09-18 21:03:05 +08:00