xia-chu
4fa04d6a37
优化PlayerProxy代码
2023-05-13 00:14:35 +08:00
xia-chu
0afe75229e
修复拉流代理获取流信息可能访问空指针的bug
...
此bug由 #2448 引入,触发条件:
- 1.配置文件rtsp.directProxy设置为0
- 2.调用addStreamProxy代理rtsp流
在非直接代理情况下,PlayerProxy::_media_src为空,导致访问空指针。
2023-05-13 00:02:06 +08:00
老衲不出家
f6ac39ade5
新增允许所有跨域请求配置项 ( #2449 )
...
配置项为http.allow_cross_domains
2023-05-12 11:47:22 +08:00
codeRATny
1136b0a3c0
Adding new features for proxy player ( #2448 )
...
Add some functions for the proxy player, such as:
getting stream information (basic video/audio information)
callbacks for any connection and disconnection from the server
And now you can set delay between reconnections. See proxy player
constructor
2023-05-12 11:20:31 +08:00
Per-Arne Andersen
350e262433
Added support for GCC 13 ( #2452 )
...
GCC Does not explicitly include stdint. This update includes them where needed.
A very minor change that would allow GCC13 and above to compile
correctly. In newer versions, cstdint is not implicitly included, hence
it errors out during compilation for some files.
2023-05-11 09:58:48 +08:00
ljx0305
7ef39d1b6f
修复openRtpServer函数声明不一致问题 ( #2445 )
2023-05-08 15:27:43 +08:00
BackT0TheFuture
e97e0d86bd
修复rtmp多层级url解析异常问题 ( #2435 )
...
解析多层级rtmp url会丢失某些层级信息: #2433
2023-05-05 17:34:32 +08:00
xiongguangjie
ffed4b3bb2
format code style for pusher and player
2023-05-03 21:46:25 +08:00
xiongguangjie
7c89c1655f
add getProxyPusherInfo and getProxyInfo restful api
2023-05-03 18:52:11 +08:00
Johnny
bfec1b1e0e
fix typo
2023-05-02 20:41:13 +08:00
alexliyu7352
1dd0c69aa0
完善英文说明文档 ( #2431 )
2023-04-29 09:02:19 +08:00
alexliyu7352
9a9040ecda
Merge pull request #2428 from alexliyu7352/patch-56
...
避免服务器端返回content-length=0时,TsPlayer不能正确释放的问题
2023-04-28 23:46:22 +08:00
xia-chu
2708c85d57
修复编译问题
2023-04-28 23:08:59 +08:00
xia-chu
19c5323633
修复startSendRtp发送mp4文件时崩溃问题:#2429
2023-04-28 23:02:48 +08:00
xia-chu
beb99ee5b5
更新作者列表
2023-04-28 22:49:20 +08:00
xia-chu
ac46f5499e
修复编译错误: #2416
2023-04-28 22:44:57 +08:00
xia-chu
8c049d4e28
实现whip/whep delete相关功能
...
通过whip/whep 回复http头中的Location url进行删除资源
新增delete token随机数实现删除鉴权
2023-04-28 22:36:58 +08:00
xia-chu
d2349f01bd
使用static_pointer_cast优化性能
2023-04-28 22:04:38 +08:00
xia-chu
cdf97e7605
更新zltoolkit,适配最新代码
2023-04-28 22:04:09 +08:00
Alex
b3d4188fde
避免服务器端返回content-length=0时,TsPlayer不能正确释放的问题
2023-04-28 01:33:17 +08:00
xiongguangjie
64553797bd
h265 rtp pack avoid 1387 size nal fu-a only one end packet and first satrt end not exist try fix #2425
2023-04-27 19:54:47 +08:00
xiongguangjie
a64383a26b
sync media-server to fix #2409
2023-04-24 19:49:23 +08:00
lijin
38e05ab8cb
添加addStreamProxy对非法url异常捕获处理 ( #2412 )
...
确保抛出异常时,原有代理拉流对象被正常移除,后续可以更新正确url
2023-04-24 14:32:34 +08:00
xia-chu
a37b038af6
docker镜像默认开启trace日志
...
同时暴露webrtc over tcp端口
2023-04-23 14:37:05 +08:00
xia-chu
41451f6a93
修复不保存日志文件的bug
2023-04-23 14:30:41 +08:00
xiongziliang
81d0ba97a1
更新zltoolkit
...
确保emitErr只触发一次onErr回调
2023-04-23 00:21:35 +08:00
xiongziliang
c8a20f85f6
直接打印SockException类
2023-04-23 00:10:18 +08:00
xiongziliang
de8249592e
Session类构造析构跟踪日志统一在底层网络框架打印
2023-04-22 23:58:17 +08:00
xiongziliang
f1037e3767
降低http api debug日志级别为Trace
2023-04-22 23:29:19 +08:00
xiongziliang
38ab3e0df4
添加cpu亲和性设置参数: #2407
...
如果需要调用getSnap和addFFmpegSource接口,可以关闭cpu亲和性以发挥ffmpeg多核性能
2023-04-22 22:10:35 +08:00
xiongziliang
967fe035ab
日志默认调整为debug级别
2023-04-22 22:03:30 +08:00
xiongziliang
7a95c87a29
优化代码
...
空构造和析构函数替换为缺省
去除多余分号
2023-04-22 21:59:26 +08:00
xiongziliang
e8a425945d
更新子模块
2023-04-21 23:14:53 +08:00
xiongziliang
b5a0a2e858
新增动态更新rtp server过滤ssrc接口updateRtpServerSSRC( #2390 )
2023-04-21 23:08:48 +08:00
xiongziliang
c2b8f3e80e
更新zltoolkit,修复Session对象析构时获取ip端口失败的问题
2023-04-21 22:27:36 +08:00
xiongziliang
bb26fead1e
rtmp协议metadata设置title字段
2023-04-21 22:25:06 +08:00
Johnny
ce16a0a9b6
Fix compile warnings
2023-04-21 21:12:42 +08:00
Johnny
82bc416546
add exchangeSdp
2023-04-21 20:40:37 +08:00
Johnny
5d33e4c9f9
refine: update static_cast in webrtc api
2023-04-21 20:24:23 +08:00
朱如洪
cb92cd0b89
修正 iOS 平台编译 Socket_ios.mm 文件找不到问题 ( #2404 )
...
CMake Error at 3rdpart/CMakeLists.txt:188 (add_library):
Cannot find source file:
/Users/shinianzhiqian/Desktop/ZLMediaKit/3rdpart/ZLToolKit/Network/Socket_ios.mm
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h
.hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc
CMake Error at 3rdpart/CMakeLists.txt:188 (add_library):
No SOURCES given to target: zltoolkit
2023-04-20 11:04:23 +08:00
xiongguangjie
30182701f5
fix vlc can't play mp4 of jpeg #2388
2023-04-19 19:40:58 +08:00
xia-chu
fcb0124f29
适配更新zltoolkit,优化增强网络库:#2397
2023-04-19 13:12:39 +08:00
xia-chu
f1438986ad
修复stopSendRtp后无法触发无人观看事件的问题
2023-04-18 10:54:49 +08:00
xia-chu
a93a985ae5
修复静态类型转换错误
2023-04-18 10:54:48 +08:00
xia-chu
2f075f60ea
修复编译警告,格式化代码
2023-04-18 10:38:12 +08:00
xia-chu
4bd3fdabfb
clang-format列宽调整为160
2023-04-18 10:34:00 +08:00
xia-chu
9443d68d6c
格式化代码
2023-04-18 10:33:22 +08:00
xiongguangjie
f949c6de2a
not retry when hook result code is int and !=0
2023-04-17 20:01:45 +08:00
夏楚
5eee86ade3
Update README.md
2023-04-17 18:09:59 +08:00
Dw9
978143c86d
rtp级联(ps/ts/es)新增支持gop缓存功能 ( #2395 )
...
该修改主要解决rtp级联(调用startSendRtp接口)未做gop缓存导致上级无法秒开的问题。
同时通过RingBuffer对象线程隔离的特性,实现了在断连续推场景下归属线程切换导致的线程安全问题。
用户如未使用rtp级联功能,请修改配置文件关闭GOP缓存(rtp_proxy.gop_cache=0)以便节省内存。
---------
Co-authored-by: 夏楚 <771730766@qq.com>
2023-04-17 12:19:24 +08:00