Commit Graph

4198 Commits

Author SHA1 Message Date
xiongziliang
77400832ac Update ZLToolKit 2024-01-06 17:47:43 +08:00
sandro-qiang
aeda47ec8c
修正SctpAssociation.cpp的访问越界 (#3182)
ZLMediaKit/ZLMediaKit#3181
2024-01-05 15:33:51 +08:00
SetoKaiba
b6cbbb4339
Add hls_delay feature (#3158) 2024-01-03 09:05:15 +08:00
xiongziliang
bb2d482056 Update ZLToolKit 2023-12-31 22:16:05 +08:00
xiongziliang
519cce8c29 Add data alignment declaration 2023-12-31 22:15:51 +08:00
xiongziliang
f382f1fa95 Replacing switch case with codec map
Prevent the occurrence of multiple case with same value
2023-12-31 22:14:58 +08:00
xiongziliang
a106f8dfc0 Avoid blocking the poller thread 2023-12-31 22:10:13 +08:00
Dw9
7c42ac4d79
Set the default port for WebRTC (#3175)
Set the default port for WebRTC to 8000 to prevent the generated default configuration file from disabling WebRTC features.
2023-12-29 10:53:47 +08:00
xiongziliang
bcf0c719f1 Update ZLToolKit 2023-12-23 21:32:24 +08:00
xiongguangjie
9d68b668fc
Add http pipelining request support (#3154)
Support recv multi http request before reponse it.

Co-authored-by: 夏楚 <771730766@qq.com>
2023-12-23 21:27:28 +08:00
snysmtx
8f4e76406c
修复编译 rpm 时获取调试信息失败问题 (#3151)
Release 8.0 之后, 编译 rpm 会出现获取调试信息失败问题,  导致 rpm 打包失败

虽然说可以禁用调试包生成来规避问题, 但个人认为在编译 DEBUG 版本时生成调试信息包还是有必要的
2023-12-22 17:40:42 +08:00
chdahuzi
a17b950b21
Install http api and hook before starting the service listener (#3149)
We have found that sometimes, when starting zlmediakit, stream push requests may be received before the hook is ready.
2023-12-20 19:32:49 +08:00
PioLing
c7f2f9e883
Change fillPicture (av_image_fill_arrays() ) align size from 1 to 32 (#3142) 2023-12-18 16:28:00 +08:00
xiongziliang
e593ef5fef Change av_image_fill_arrays align size from 1 to 32
To avoid crash in some cases
2023-12-17 18:22:58 +08:00
xiongziliang
f1923f0076 Ignore the http connection which calling kick_sessions http api 2023-12-17 18:19:18 +08:00
xiongziliang
189f787746 Disable enhanced-rtmp H265 default 2023-12-17 18:10:47 +08:00
648540858
a72d87cca7
BugFix: MediaSource unregister after 3 seconds after calling close_streams (#3132)
To avoid frequent creation and destruction of UdpSession,
RtpSession will be destructed 3 seconds after triggering onError.
2023-12-15 16:46:43 +08:00
xia-chu
c0bb7db476 BugFix: crash when FrameMerger::flush
In a lambda expression, temporary stack variables should not be captured; otherwise,
the variables may have become invalid when FrameMerger::flush is called.
2023-12-14 17:28:21 +08:00
PioLing
07f3c6dde4
支持创建不支持codec的frame (#3126) 2023-12-14 14:14:50 +08:00
waken
9933398614
修复一个关闭GB28181时引发的崩溃问题 (#3118)
fix #3116 #3115
2023-12-13 17:41:57 +08:00
PioLing
2f4cd67162
修正 getCodecU 返回值 (#3104)
'g711 getCodecU() 返回值改为 CodecG711U'
2023-12-11 16:24:54 +08:00
Xiaofeng Wang
33f860fd04 Fix A -> U 2023-12-11 11:05:55 +08:00
xia-chu
25c99470ee feat: add support of codec plugin 2023-12-10 11:09:04 +08:00
xia-chu
9ff4c09211 BugFix: fix webrtc bad weak ptr exception 2023-12-10 11:09:04 +08:00
夏楚
64f15202de
Support multi audio/video track 2023-12-09 22:34:22 +08:00
夏楚
bbe8f4a018
release 8.0 2023-12-09 16:23:51 +08:00
ljx0305
44c82752b3
修正回环时计算前后包距错误 (#3089) 2023-12-07 22:05:42 +08:00
Dw9
d21bdc35c9
修复addstreamproxy拉流瞬间超时的问题 (#3093) 2023-12-07 22:05:20 +08:00
luna
8682a655d7
Update README.md (#3075) 2023-12-05 01:58:45 +08:00
xiongziliang
6ff5556b71 优化平滑发送逻辑,解决时间戳跳变导致发送不平滑问题 2023-12-04 23:22:38 +08:00
xiongziliang
22732ea3f4 确保deleteRecordDirectory接口忽略正在录制的mp4文件 (#3032) 2023-12-02 21:53:25 +08:00
xiongziliang
527d9b9e64 优化http目录索引相关代码
优先使用ZLToolKit提供的api
2023-12-02 21:53:25 +08:00
xiongziliang
fd52470fc9 修复http文件服务器未设置charset的bug 2023-12-02 21:53:25 +08:00
xiongziliang
a3a563ed41 修复http虚拟目录相关bug 2023-12-02 21:53:25 +08:00
xiongziliang
3137b95406 修复hls快速重连时,延迟删除文件夹相关bug (#3039) 2023-12-02 21:53:24 +08:00
xiongziliang
c12a6f0aed 适配ZLToolKit 2023-12-02 19:49:28 +08:00
xiongziliang
d555f6038a http文件索引改用英文
防止中文乱码
2023-12-02 16:43:06 +08:00
夏楚
76aebd74c6
整理MediaSource协议类型 2023-12-02 16:31:40 +08:00
夏楚
10c2197e76
新增downloadFile接口,支持下载限定目录下任意文件 (#3073) 2023-12-02 15:58:40 +08:00
xiongziliang
e1f199c986 deleteRecordDirectory接口忽略正在录制的mp4文件 (#3032) 2023-12-02 15:23:56 +08:00
xiongziliang
10663fd3b4 删除无效的hook api 2023-12-02 15:04:57 +08:00
xiongziliang
380887c5d3 http api回复改成英文 2023-12-02 15:02:00 +08:00
xiongziliang
a47c5d2ec0 http api不区分大小写 2023-12-02 14:56:59 +08:00
xiongziliang
e2321354f7 更新作者列表 2023-12-02 14:11:54 +08:00
xiongziliang
23b785b263 修复编译警告问题 2023-12-02 10:22:45 +08:00
夏楚
21c03f772f
新增平滑发送逻辑 (#3072) 2023-12-02 10:20:06 +08:00
alexliyu7352
00e6ca3f79
还原之前的自动化集成 (#3071)
这种形式容易引起fork仓库提交pr时的一些问题, 还原成原来的版本
2023-12-01 20:20:42 +08:00
alexliyu7352
4648c156c8
优化hls播放器,使用持久化连接 (#3070)
hls播放时,如果对方reset断开了tcp连接,应该自动发起重连
2023-12-01 17:56:08 +08:00
alexliyu7352
50281513d9
hls播放器优化 (#3064)
1. 连续切片下载失败后关闭播放器, 这种适用于源端服务器出现故障导致m3u8索引正常,但切片文件不正常时,尽快的能关闭播放器并通过web
hook上报业务系统,而不是仍旧不停的拉取ts切片.
2. 优化m3u8拉取失败时的快速重拉, 增加一个0.3秒的延时. 因为有时候httpClient已经_complete=true了,
但是alive()仍旧是true,所以稍微增加一个延时, 避免出现大量的m3u8重试, 实际上这里能否直接判断_complete=true?
3. 继续修改到哪里就把代码注释添加英文版本
2023-12-01 14:43:35 +08:00
alexliyu7352
86029d08af
addStreamProxy支持透传参数并设置MediaPlayer (#3063)
通过addStreamProxy接口可以直接配置MediaPlayer相关设置参数,比如说http代理url等
2023-12-01 14:33:07 +08:00