227 Commits

Author SHA1 Message Date
langhuihui
6f5ded0738 fix: jessibuca play submode=2 not work
feat: add config file from env value
fix: pull save
refactor: remove sei track
fix: amf Marshal AMF0_STRICT_ARRAY do not write end
2024-07-09 20:09:11 +08:00
langhuihui
b5781bad3c fix: jessibuca play submode=2 not work 2024-06-27 18:41:56 +08:00
langhuihui
e11c582b51 feat: add config file from env value 2024-06-18 17:24:07 +08:00
langhuihui
122de52fea fix: discard 2024-06-14 15:12:53 +08:00
langhuihui
db4a51eaa5 fix: record with fileName,rtmp with extend timestamp 2024-05-21 09:28:40 +08:00
langhuihui
7d6f3dbab8 fix: h265 parse sps , save=2 eof , config point panic 2024-05-07 17:29:25 +08:00
langhuihui
e4fd81c237 fix: data track set logger 2024-04-02 19:23:24 +08:00
langhuihui
127cd38380 fix: pull save 2024-04-02 15:57:40 +08:00
langhuihui
14749f3e48 feat: update go version to 1.21 2024-03-15 10:09:22 +08:00
langhuihui
74d9eb0cb2 fix: update cert 2024-03-15 09:48:14 +08:00
langhuihui
d095c45dee refactor: remove sei track 2024-03-07 20:50:24 +08:00
langhuihui
f2e119e0e5 1. fix: subscriber wait track timeout
2. feat: reduce wait close when no subscribe
3. fix: rtmp encode nil value
4. fix: global value override
5. fix: new publisher use old track
6. fix: WriteRTPFrame panic
7. feat: fit wrong timestamp
8. fix: debug get profile
9. fix: fmp4 h265 with enhanced rtmp protocol
10. fix: logrotate grep_linux.go
11. fix: rtmp seqhead will reset timestamp、bad publish
12. feat: room add args to  userleave and user enter event
13. feat: room add ping and pong to websocket connection
14. feat: webrtc play add query
15. fix: webrtc add PeerConnectionStateClosed handler to publisher and subscriber
2024-02-21 10:59:56 +08:00
langhuihui
1379471390 fix: fmp4 play h265, rtmp send seqhead reset timestamp bug 2024-02-12 21:36:16 +08:00
langhuihui
e5bcdb227c feat: add auto build docker 2024-01-24 15:09:47 +08:00
langhuihui
06bf245f2b fix: global config not overide 2024-01-22 16:26:09 +08:00
langhuihui
90d8008e3b feat:
- add desc to config struct
- remove gen.go
2024-01-03 09:47:50 +08:00
langhuihui
063e994328 chore: update preview plugin 2023-12-26 11:13:14 +08:00
langhuihui
52eacbaecb feat: remove gen.go 2023-12-20 10:18:28 +08:00
langhuihui
a8af274ec7 feat: upload to beta 2023-12-18 14:06:00 +08:00
langhuihui
2a2577b9f9 feat: add desc to config struct 2023-12-14 14:33:09 +08:00
langhuihui
3d28bed6f0 fix: h265 2023-12-01 15:56:32 +08:00
langhuihui
f17db659dd chore: modify conf dir name 2023-11-27 20:48:20 +08:00
langhuihui
fdef232edc feat: add av1 and opus support 2023-11-17 17:42:41 +08:00
langhuihui
eb3ffe6cd6 fix: repull will dead 2023-11-16 19:28:54 +08:00
langhuihui
9cbbee3f54 fix: record hls ts duration wrong 2023-11-07 11:11:11 +08:00
langhuihui
3bdc5074e0 fix: rtsp relay 2023-11-03 14:12:56 +08:00
langhuihui
35a10e1c39 fix: rtsp repull bug 2023-11-03 09:45:51 +08:00
langhuihui
722f7d1a5e feat: 兼容不规范的 rtp 包和 sdp 2023-10-27 18:04:11 +08:00
langhuihui
1399beef60 - Engine aspect
1. Add a flow state
2. Add regular expressions to remote push pull
3. Add InviteTrack event
4. Fix several bugs

- In terms of plugins

1. GB 28181 Video Streaming Automatic Shutdown for Unmanned Viewing
2. HLS fixes playback issues and upgrades Gohlslib library
3. Record repairs HLS recording, fixes API method for passing fragment parameters
4. RTMP fixes issues caused by TCP connection failure
5. Upgrade gortsplib to v4 using rtsp
6. Webrtc fixes bug in subscription multiplexing
7. Webrtransport does not configure certificates to automatically use built-in certificates

- 引擎方面

1. 增加一个流状态
2. 远端推拉增加正则表达式
3. 增加 InviteTrack 事件
4. 修复若干 bug

- 插件方面

1. gb28181 录像流无人观看自动关闭
2. hls 修复播放问题,升级 gohlslib 库
3. record 修复 hls 录制,修复 api 方式传递 fragment 参数
4. rtmp 修复因tcp 连接失败导致的问题
5. rtsp 升级 gortsplib到 v4
6. webrtc 修复订阅多路的 bug
7. webrtransport 不配置证书自动使用内置证书
2023-10-23 14:50:13 +08:00
langhuihui
84f9a02e0a fix: hls pull ts no content-length 2023-10-23 10:09:15 +08:00
langhuihui
7f97d26a2b fix: hls record and play 2023-10-18 14:06:35 +08:00
langhuihui
17dab13edf feat: pull and push support regexp
feat: add pagation support
 fix: stop subscribe when error
2023-09-28 15:42:50 +08:00
langhuihui
1218158b3e fix: panic and hls record 2023-09-25 15:12:39 +08:00
langhuihui
42b8c6256f chore: update aurora and mp4ff lib 2023-09-20 19:29:03 +08:00
langhuihui
13654367d7 fix: pull will sleep at first 2023-09-18 17:17:16 +08:00
langhuihui
bae642096c fix: rtsp plugin memory leak 2023-09-15 16:19:15 +08:00
langhuihui
51c4cd6291 fix: stream close process 2023-09-14 10:13:50 +08:00
langhuihui
8707d953fe 1. Retrying after remote streaming interruption increases waiting time and fixes retry failure issues
2. Fix concurrent request summary interface timeout
3. Parameters can be passed in during HLS subscription
4. Fix memory leaks in the monitor plugin
5. Fix panic caused by incorrect stream address during Disconnect

- 1、远端拉流中断后重试增加等待时间,修复重试失效问题
- 2、修复并发请求summary接口超时
- 3、hls订阅时可传入参数
- 4、修复monitor插件内存泄露
- 5、修复错误的流地址导致的Disconnect时panic
2023-09-10 12:19:48 +08:00
langhuihui
dfd9af1efd fix: ps解析异常 tcp 逻辑,avoid repull too fast 2023-09-07 13:11:49 +08:00
langhuihui
9933950f61 feat: gb的 channel增加输出字段,fix summary timeout 2023-09-06 14:18:27 +08:00
langhuihui
055eb6c022 feat: hls add args to subscriber 2023-08-31 13:41:44 +08:00
langhuihui
7d5b0fbb32 fix: rtsp 修复错误的流地址导致的Disconnect时panic 2023-08-31 09:05:13 +08:00
langhuihui
15da702fec fix: memory leak 2023-08-29 09:43:48 +08:00
langhuihui
e8dbdb4aef fix: engine Run func
- fix receive panic
- fix ps decode memory leak
- gortsplib upgrade to v3.10.0
2023-08-25 15:05:52 +08:00
langhuihui
5a7aec092c fix: plugin-hls version must be 4.3.3 2023-08-15 08:55:26 +08:00
langhuihui
4ab1f8e9a1 - API 现在可以返回{"data":xxx,"code":0,"msg":"ok"}
格式
- 按需拉流的事件的类型从`*Stream`修改为`InvitePublish`
- 远程拉流频繁重连后导致多路远程流同时写入同一个`track`
- 在并发序列化`Tracks`时导致错误,通过加锁解决
- 修复`Record`插件录制`fmp4`格式报错
- 更新`WebRTC`插件依赖库版本
- 更新依赖库`quic-go`版本
- 优化`ps`插件中的`tcp`收流逻辑
- 优化`rtmp`插件streamId计算方法
2023-08-14 12:39:57 +08:00
langhuihui
660886fc01 fix: record g711 in mp4 2023-08-07 09:12:47 +08:00
langhuihui
a71166937e - Refactoring the Record plugin to support mp4 format (non fmp4)
- Optimize HLS plugin memory usage
- Change the default remote streaming of RTSP to TCP protocol
- Reason for subscriber closure increase closure
- Reconstruct the summary to reduce invalid collection and prevent concurrent reads and writes
- Add API for mandatory closure of subscribers
- Remote streaming encountered an unreachable address and will no longer retry indefinitely

- 重构Record插件,支持mp4格式(非fmp4)
- 优化HLS插件内存使用
- rtsp远端拉流默认改成tcp协议
- 订阅者关闭增加关闭原因
- 重构summary,减少无效采集,防止并发读写
- 增加强制关闭订阅者的api
- 远端拉流遇到无法连接的地址不再无限重试
2023-08-06 18:07:36 +08:00
langhuihui
52bd4c54e7 - fix: record flv append not work
- fix: data track reader
- feat: ignore auth for internal subscriber
- chore: optimize webrtc subscribe

desc:
- 修复了flv的append不生效的问题
- data track读取问题
- 忽略内部订阅者的鉴权功能
- webrtc插件优化,配合webrtc视频墙功能
- gb插件默认开启范围端口
2023-07-14 16:01:57 +08:00
langhuihui
e5c9cacd8b fix:
- data track push data panic
- g711 new track attach block
- didn't stop all publisher and subscriber when rtmp closed
- ps-plugin audio not enabled

desc:
- 数据轨道写入时引发panic
- 在事件回调中创建g711会导致阻塞
- rtmp关闭时没有停止所有发布者和订阅者
- ps-plugin音频未启用
2023-07-07 15:45:07 +08:00