Commit Graph

4278 Commits

Author SHA1 Message Date
johzzy
f49aed7a32
srt optimization code for query poller (#3334)
- add querySrtTransport, improve code.
- update SrtTransportManager key
- fix some warning
2024-03-02 18:25:32 +08:00
xiongziliang
1b709f665a Update submodules 2024-03-02 16:57:27 +08:00
夏楚
24ad9c9b9e
Support mpegts rtp payload in startSendRtp (#3335) 2024-03-02 16:53:53 +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
xiongguangjie
06abbd0eb7
rtp send rtp g711 audio can config duration (#3325)
optimization for this
[issue](https://github.com/ZLMediaKit/ZLMediaKit/issues/3316)
2024-03-02 16:40:13 +08:00
imp_rayjay
87cb488b04
Added support for DRI frames in MJPEG RTP packetization (#3305) 2024-02-19 11:54:13 +08:00
xiongguangjie
4fb593f4a1
Fix compilation failure issue caused by lack of regular expression support in gcc 4.8.5 (#3301 #3279) 2024-02-19 11:05:30 +08:00
xiongziliang
da5673d1c4 Update ZLToolKit 2024-02-07 23:07:25 +08:00
xiongziliang
81b08af0ce Ensure thread safety of player and pusher 2024-02-07 23:06:42 +08:00
xiongziliang
306a32131c Fix crash issue when exit test_player 2024-02-07 22:40:41 +08:00
lidaofu-hub
4d28b99780
Add mk_proxy_player_create2 for support more proxy options (#3262) 2024-02-04 23:15:11 +08:00
waken
bfcaf15075
Ignore localhost address when get icecand for webrtc from http request (#3282) 2024-02-04 23:11:18 +08:00
xiongziliang
0359f178de Update ZLToolKit 2024-01-28 19:35:06 +08:00
xiongziliang
826f4de24a Add new authors 2024-01-28 19:31:20 +08:00
sandro-qiang
ceae040a7a
Fix http url path and component's coding (#3237 #3181) 2024-01-28 19:18:36 +08:00
xiongziliang
cfe9a31ca6 Fix http cross domain issues 2024-01-27 21:29:10 +08:00
chdahuzi
56bdb14baf
解决流名被替换后,getRtpInfo等接口无法使用新流名的问题 (#3265) 2024-01-27 20:55:57 +08:00
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