Commit Graph

2306 Commits

Author SHA1 Message Date
ibranch7
56fe66da7c
修复http文件下载指定目录时mmap导致崩溃的bug (#4213)
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
在`HttpBody.cpp`中,`getSharedMmap`函数直接尝试对所有路径进行mmap操作,没有进行文件类型检查
2025-04-09 21:35:28 +08:00
xiongguangjie
fd4f00dd63
修复非法rtp数据导致空指针崩溃问题 (#4226)
Some checks failed
Android / build (push) Has been cancelled
CodeQL / Analyze (cpp) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
Docker / build (push) Has been cancelled
Linux / build (push) Has been cancelled
macOS / build (push) Has been cancelled
Windows / build (push) Has been cancelled
2025-04-07 20:50:03 +08:00
PioLing
3351aedeee
优化mp4与flv录制相关代码 (#4206)
Some checks failed
Android / build (push) Has been cancelled
CodeQL / Analyze (cpp) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
Docker / build (push) Has been cancelled
Linux / build (push) Has been cancelled
macOS / build (push) Has been cancelled
Windows / build (push) Has been cancelled
2025-03-29 20:39:14 +08:00
custompal
f0204ea3b3
播放器(reader)setGetInfoCB时统一使用Session对象 (#4195)
Some checks failed
Android / build (push) Has been cancelled
CodeQL / Analyze (cpp) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
Docker / build (push) Has been cancelled
Linux / build (push) Has been cancelled
macOS / build (push) Has been cancelled
Windows / build (push) Has been cancelled
Co-authored-by: custompal <chenrengen@gosuncn.com>
2025-03-21 15:22:48 +08:00
PioLing
d078446a91
兼容某些不规范的rtsp流 (#4188)
Some checks failed
Android / build (push) Has been cancelled
CodeQL / Analyze (cpp) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
Docker / build (push) Has been cancelled
Linux / build (push) Has been cancelled
macOS / build (push) Has been cancelled
Windows / build (push) Has been cancelled
2025-03-13 16:22:35 +08:00
xia-chu
11d1b849ec startSendRtp、startRecord接口支持缓存多个gop (#4180)
Some checks failed
Android / build (push) Has been cancelled
CodeQL / Analyze (cpp) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
Docker / build (push) Has been cancelled
Linux / build (push) Has been cancelled
macOS / build (push) Has been cancelled
Windows / build (push) Has been cancelled
2025-03-07 23:40:50 +08:00
ziyuexiachu
550870ea74 获取track统计信息不再上锁,修复可能死锁的bug 2025-02-28 12:52:28 +08:00
baigao-X
c0a93f3c8f
Fix SrtCaller Crash problem (#4171)
1.Fix the crash problem when SrtPlayer reveives an Ack packet 
2.Remove SrtCaller's Check on streamid format to make it compatible with
other SRT streaming service。
3.Modify the coding format: replace tab to space
2025-02-28 12:46:43 +08:00
PioLing
aa160c6aa8
Add IPv4/6 bind() check for srt client. (#4157) 2025-02-21 19:58:26 +08:00
baigao-X
12a2f7d491
Handling rtsp authentication like ffmpeg, Compatible with some rtsp servers (#4154) 2025-02-19 15:06:11 +08:00
PioLing
a3bd9e1ebd
Fix the compilation error of gcc4.8 (#4149) 2025-02-13 15:19:32 +08:00
xiongguangjie
2a85dffdf9
on_play/on_publish hook 新增protocol字段 (#4133 #4143)
对于webhook  涉及到media info的相关信息,增加protocol 的字段,表明是基于什么协议传输的
2025-02-13 15:18:47 +08:00
yanggs
69e4c127bc
Fix compile error when config with -DENABLE_SRT=OFF (#4132) 2025-02-11 13:23:24 +08:00
PioLing
a8507d9ecc
Optimize the code related to decoding and screenshot (#4106)
Co-authored-by: xia-chu <771730766@qq.com>
2025-01-19 20:18:32 +08:00
N.z
83a622fa25
Ensure play url is valid(#4114)
Play url could be empty.
2025-01-19 18:35:22 +08:00
Dary
f3026f5df0
适配FFmpeg7.1 (#4102)
ffmpeg中FF_API_OLD_CHANNEL_LAYOUT系列API在2024年3月的提交中已经正式移除了,对应release7.0,使用ffmpeg7.0及以上版本编译zlm会报错。
2025-01-12 10:16:45 +08:00
xiongguangjie
ac6bb9b332
Improve srt print and check pusher (#4113) 2025-01-12 10:01:35 +08:00
PioLing
9863f9c160
Add logo and version information to exe on windows (#4093) 2025-01-03 11:33:35 +08:00
baigao-X
1c8ed1c55a
Add srt caller mode and stream encryption support. (#4088)
Add srt caller mode and stream encryption support.
1. Support srt caller mode, realize srt proxy pull stream proxy push
stream;
url parameter format such as: srt://127.0.0.1:9000?streamid=#!
::r=live/test11
2. Support srt stream encrypted transmission in caller and listener
mode.

---------

Co-authored-by: xiongguangjie <xiong_panda@163.com>
2024-12-28 20:21:29 +08:00
xia-chu
0bbcbb9907 修复某些不规范流不注册的问题 2024-12-21 18:47:33 +08:00
mtdxc
cffd98042b
代码优化: _last_seq_out -> next_seq, (#4069) 2024-12-20 11:15:15 +08:00
xia-chu
fa9db13bdb 修复推流器相关bug 2024-12-05 21:14:13 +08:00
Dw9
2bf85eb8ff
Add mp3_plugin, support rtsp with mp3 (#4048)
增加mp3_plugin, 解决rtmp推流转rtsp无法播放问题
ref: https://datatracker.ietf.org/doc/html/rfc2250#section-3.5
2024-12-03 10:40:24 +08:00
xia-chu
8a27e11c4c 防止ps/ts不支持编码类型时警告日志打印 2024-12-01 10:26:50 +08:00
xia-chu
8cf8e4ed5f 防止rtmp打包不支持的编码类型时频繁打印警告日志 2024-12-01 10:20:01 +08:00
xia-chu
aa56576b0e 修复默认音频参数相关bug 2024-11-30 10:54:45 +08:00
xia-chu
d1f3961326 完善rtp服务器对各编码类型es流的支持 2024-11-30 08:50:07 +08:00
xia-chu
892108d6ba 新增若干音视频编码类型的默认实现
部分支持VP8/VP9/AV1/JPEG/MP3/H266/ADPCM/SVAC/G722/G723/G729
2024-11-30 08:23:10 +08:00
xia-chu
87b42ab492 优化代码
除1024改成右移10位
2024-11-29 23:51:34 +08:00
xia-chu
02a0b0402a 修复rtp单端口模式主动关闭时线程安全问题 2024-11-29 23:38:10 +08:00
xia-chu
f5d5b71731 修复FrameMerger输入不可缓存帧相关bug 2024-11-29 20:15:40 +08:00
xiongguangjie
8868320301
Add xr targetbitrate process and update js demo sdk (#4031)
rtc 增加对于rtcp xr target bitrate 的解析,参照
https://webrtc.googlesource.com/src/+/refs/heads/main/modules/rtp_rtcp/source/rtcp_packet/target_bitrate.cc

zlmrtcclient.js 更新,修复推屏幕流失败的问题
2024-11-21 14:17:02 +08:00
ss002012
226b87a633
优化rtsp ntp时间戳,防止音视频不同步( #4017 #4018)
rtp时间戳可能被截断,ntp时间戳生成时优先使用未截断的原始时间戳,防止音视频不同步
2024-11-18 14:08:53 +08:00
xiongguangjie
51f49d3a89
Fix mp4 record segment bug (#4008 #4007) 2024-11-09 19:33:36 +08:00
286897655
8e823b3b74
提升rtsp协议兼容性 (#4003)
海康解码器播放rtsp流url带了?key=value参数,SETUP时会带着这些参数,导致获取trackid失败
2024-11-09 19:32:18 +08:00
xia-chu
ef11c66fb8 新增语音对讲接口(startSendRtpTalk) 2024-11-09 19:29:04 +08:00
mtdxc
901c381300
新增获取推流推流代理列表和ffmpeg源列表接口 (#3992) 2024-11-01 10:47:18 +08:00
wuxingzhong
6729257eab
修复时间戳回退导致超大mp4切片问题 (#3991)
当出现dts回退时,应该取frame->dts(), 即MIN, 非MAX
2024-10-31 20:11:34 +08:00
xiongguangjie
cc590254a6 fix compile error for ci 2024-10-28 10:59:37 +08:00
xia-chu
18d5fb71f3 增强hls点播功能,每个切片文件夹生成一个m3u8索引文件 2024-10-26 16:42:06 +08:00
xia-chu
4c90a1a95b Instantly enable recording support for GOP caching 2024-10-18 22:22:13 +08:00
xia-chu
61a93fab6a MP4 reader supports loading multi files 2024-10-13 02:09:39 +08:00
xia-chu
e4025a6811 Improve timestamp corrector 2024-10-13 00:23:34 +08:00
xiongguangjie
6b2fcf7943
Fix the issue where the hls-fmp4 do not flush data in single audio cases (#3935 #3937) 2024-09-29 11:55:58 +08:00
xiongguangjie
de7afaf992
Avoid negative PTS in the RTSP protocol (#3929 #3815)
Optimaztion for issue #3815 ffmpeg rtsp pull stream has negative pts
2024-09-26 10:59:41 +08:00
Dw9
f3e2a29cbd
Fix crashes where iterators may be invalid (#3920)
Fix: #3885
2024-09-19 20:16:16 +08:00
alex
4152dcd409
AI automatically translates all comments in the code into English (#3917) 2024-09-19 14:53:50 +08:00
Dw9
046de691cb
Fix the issue of RTP sorting cache crashing when the sequence is reset (#3915) 2024-09-18 19:09:14 +08:00
xiongguangjie
8f03105baa
Fix bug #3894 of rtsp over http (#3903) 2024-09-17 09:44:22 +08:00
Talus
7c914666f2
Fix issue where when RTP timestamp does not change and packet loss occurs, the rtp parser's CommonRtpDecoder never outputs again (#3891)
Co-authored-by: TalusL <liangzhuohua@genew.com>
2024-09-13 17:44:30 +08:00