Commit Graph

4361 Commits

Author SHA1 Message Date
waken
fd1ebb1a51
Auto get icecand ip address from http request (#3251)
Get ip address from http `Host` header, and set it to icecand ip for webrtc
2024-01-26 10:26:30 +08:00
张传峰
9977b550e0
Add snapshot cmd parameter to ignore audio (#3246)
Improve snapshot speed
2024-01-26 10:19:19 +08:00
老衲不出家
62641f426b
Fix a bug in WebRTC where the DTLS certificate is too large(big than MTU) (#3250) 2024-01-24 15:14:23 +08:00
xiongguangjie
f9da87eb5d
update media-server for ps demuxer bug fix (#3249)
media-server 有一个bug , 已经提pr修复了,因此更新media-server
2024-01-23 22:47:39 +08:00
PioLing
fdc5bfac26
Add win32 mmap (#3229) 2024-01-18 11:04:27 +08:00
Paul Philippov
b43f5a119e
correct typo (#3231) 2024-01-18 11:00:14 +08:00
waken
3a80b1de1e
openRtpServer接口新增local_ip参数 (#3224)
https://github.com/ZLMediaKit/ZLMediaKit/issues/3218

ipv4环境下,修改local_ip为0.0.0.0后可实现在openRtpServer后startSendRtp复用端口

仅测试windows服务端,sip与sip通话
2024-01-18 10:59:09 +08:00
chdahuzi
8d951f06a0
修复rtp udp推流时,调用close_stream延时3秒才注销的bug (#3226) 2024-01-17 18:11:56 +08:00
xiongziliang
6514be74f1 Prevent access to nullptr when cloning a track 2024-01-15 20:34:17 +08:00
xiongziliang
dfda93a4c4 Ignore invalid H264/H265 rtmp packet instead of throwing an error 2024-01-15 20:32:06 +08:00
xiongziliang
473228a128 Update ZLToolKit 2024-01-06 23:28:18 +08:00
Seto
27217cb1e6 Fix _media_src setIndexFile by mistake for include_delay. 2024-01-06 18:42:57 +08:00
xiongziliang
8048cd886b Fix typo error of VideoTrackImp 2024-01-06 18:17:51 +08:00
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