Commit Graph

534 Commits

Author SHA1 Message Date
autoantwort
f24802d0e4
WebAPI: Fix build if ENABLE_MP4=false (#3699)
The class `MP4Reader` is only defined if the macro is ON
2024-07-09 10:43:34 +08:00
zhang2349
c72e576420
rtp server新增支持自定义vhost和app名称 (#3693)
代码来自https://github.com/ZLMediaKit/ZLMediaKit/pull/3446 , 增加了vhost
2024-07-09 10:42:10 +08:00
KkemChen
2f6723f602
perf: 调整VideoStack相关代码 (#3642)
1. 修复编译宏不生效问题
2. 新增reset接口,用于不断流的情况下变更拼接参数
2024-06-19 14:06:02 +08:00
xiongziliang
77d2df1695 移除RtpSelector相关逻辑,优化代码结构 2024-06-09 10:52:10 +08:00
waken
8dad1983a0
ServiceController增加size方法 (#3587) 2024-06-01 18:14:52 +08:00
xiongziliang
942458480d Demangle backtrace function binary symbols when generated crash logs 2024-05-25 21:16:57 +08:00
waken
f83e287c77
修复C++17新库std::variant导致的编译出错 (#3567) 2024-05-23 17:36:56 +08:00
admin
65c2abb0b5 修复无法删除mp4录像文件的bug 2024-05-15 14:31:36 +08:00
xia-chu
2eed284e61 feat: Close the connection after authentication failed in HTTP API
Improve the safety of HTTP API
2024-05-09 18:07:08 +08:00
xia-chu
664d0b67bc Add the listRtpSender http api 2024-04-21 11:31:43 +08:00
xia-chu
e4de454d5d Charset default to UTF-8 on Windows 2024-04-20 22:25:21 +08:00
renlu
c341f8ebf6 startSendRtp不指定use_ps时,发送的为裸包,不兼容之前的旧版本。 2024-04-14 11:35:31 +00:00
Aven
3dcd0ed463
Enable video stack individually (#3469) 2024-04-13 20:35:59 +08:00
ljx0305
24689fefd1
Fix compilation error (#3432) 2024-04-01 17:31:04 +08:00
xia-chu
af3ef996b0 Avoid build warnings in the main code 2024-03-30 14:59:28 +08:00
xia-chu
0602cc0c0b Add 'params' field to MediaSource tuple information 2024-03-30 14:46:39 +08:00
xia-chu
390c374086 Optimize the code
1. change param_strs to params
2. move params from MediaInfo to MediaTuple
3. passing MediaTuple as a parameter for some functions
2024-03-30 14:41:20 +08:00
xia-chu
ecc05dae28 BugFix: fix the issue where modifying the default secret resulted in HTTP api authentication failures 2024-03-30 14:04:32 +08:00
ljx0305
861be27ef8
Fix compilation error issues (#3412) 2024-03-26 15:05:14 +08:00
Jacob Su
208f57e2cd
Fix macOS compile error by rename version.h -> ZLMVersion.h (#3411 #3410) 2024-03-24 17:18:18 +08:00
xiongziliang
d8893877b2 Delete invalid code 2024-03-23 22:56:12 +08:00
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
KkemChen
2e2823d4cf
VideoStack: move sws execution to WorkThread and optimization interface (#3407)
VideoStack: move sws execution to WorkThread and optimization interface
2024-03-23 20:47:38 +08:00
xia-chu
cfac61e55b BugFix: prevent the player's configuration from being overridden in addStreamProxy 2024-03-22 20:50:07 +08:00
ljx0305
66a6253160
Fix compilation error issues (#3385) 2024-03-22 20:42:02 +08:00
KkemChen
437ae778c0
feat: VideoStack (#3373) 2024-03-16 22:56:32 +08:00
xia-chu
69738ad24e BugFix: configuration of downloadRoot cannot use absolute paths
Fix for http api `/index/api/downloadFile`
2024-03-16 21:53:30 +08:00
johzzy
2f50344e7b
Add ServiceController to manage PlayerProxy/PusherProxy/FFmpegSource/RtpServer services (#3337) 2024-03-10 16:31:20 +08:00
huangcaichun
78a6f041a8
Fixed issue that set use_ps in startSendRtp api does not take effect (#3353)
修复使用startSendRtp接口转发ps流,设置use_ps为1后,还发送es流的问题

---------

Co-authored-by: huangcaichun <cchuang@secusoft.cc>
2024-03-10 16:17:29 +08:00
waken
79b2aa6adc
openRtpServer接口增加单视频参数,加快单视频流注册速度 (#3342)
only_audio -> only_track
2024-03-05 17:06:31 +08:00
夏楚
24ad9c9b9e
Support mpegts rtp payload in startSendRtp (#3335) 2024-03-02 16:53:53 +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
waken
bfcaf15075
Ignore localhost address when get icecand for webrtc from http request (#3282) 2024-02-04 23:11:18 +08:00
sandro-qiang
ceae040a7a
Fix http url path and component's coding (#3237 #3181) 2024-01-28 19:18:36 +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
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
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
xiongziliang
f1923f0076 Ignore the http connection which calling kick_sessions http api 2023-12-17 18:19:18 +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
Dw9
d21bdc35c9
修复addstreamproxy拉流瞬间超时的问题 (#3093) 2023-12-07 22:05:20 +08:00
xiongziliang
22732ea3f4 确保deleteRecordDirectory接口忽略正在录制的mp4文件 (#3032) 2023-12-02 21:53:25 +08:00
xiongziliang
c12a6f0aed 适配ZLToolKit 2023-12-02 19:49:28 +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