Commit Graph

296 Commits

Author SHA1 Message Date
langhuihui
2fe53ce68f feat: update core files for cluster support 2025-01-02 14:18:32 +08:00
langhuihui
e2d81f5fa6 docs: add cluster architecture design with Mermaid diagrams 2025-01-02 14:17:55 +08:00
langhuihui
f884cb8376 feat: add token auto-refresh functionality - Add token refresh threshold and refresh functions in auth package - Implement token refresh in HTTP middleware and gRPC interceptor - Return new token in response headers when token is close to expiration 2025-01-01 22:04:48 +08:00
langhuihui
7ca1c1da0a fix: 修复 videoFrame 并发访问可能导致的数组越界问题 2025-01-01 17:31:04 +08:00
langhuihui
564c37d123 chore: commit test 2025-01-01 16:49:56 +08:00
banshan
e0c3051fa1 fix: crypto how to filter 2024-12-31 14:18:07 +08:00
banshan
2247c1c3af fix: add crypto readme 2024-12-31 14:18:07 +08:00
banshan
d12d9ff421 fix: crypto no idr frame 2024-12-31 14:18:07 +08:00
banshan
5a4b88a5a8 feat: add crypto 2024-12-31 14:18:07 +08:00
langhuihui
ddcdf831ae feat: add pubType 2024-12-31 09:58:41 +08:00
pg
4677bb796e fix:update user.password into db when user.password is not null 2024-12-30 23:53:25 +08:00
langhuihui
1fe5951c9c fix: subscribe panic 2024-12-30 10:12:56 +08:00
godkun
5f1ee80fbc feat: add cpu api request params 2024-12-28 00:32:21 +08:00
godkun
5972451ff0 fix: change two cpu pprof to one 2024-12-27 22:13:23 +08:00
langhuihui
88cd32ac9c fix: login success with enablelogin is false 2024-12-27 14:10:41 +08:00
banshan
15a8c4b612 fix: add README.md 2024-12-27 13:44:03 +08:00
banshan
f3bea7ebb7 feat: add time format 2024-12-27 13:44:03 +08:00
banshan
6c1113f226 feat: snap mode check 2024-12-27 13:44:03 +08:00
banshan
6eac815e48 fix: query latest snap and iframe interval 2024-12-27 13:44:03 +08:00
banshan
1fbaa70117 feat: add config save to file for manaul snap 2024-12-27 13:44:03 +08:00
banshan
18e47d5ee3 fix:schedule iframe mode not work 2024-12-27 13:44:03 +08:00
banshan
09f32bbb03 feat: add schedule iframe mode and save record to db 2024-12-27 13:44:03 +08:00
banshan
79150b05de feat: add snap by iframe interval feature 2024-12-27 13:44:03 +08:00
banshan
4ae2a8c7e2 fix: scheduled snap filter 2024-12-27 13:44:03 +08:00
langhuihui
6d0c48c45d feat: add get secret api 2024-12-26 20:22:31 +08:00
banshan
12e0af7222 feat: add scheduled snap feature 2024-12-26 20:14:31 +08:00
langhuihui
fc55f620ed feat: add user config 2024-12-26 16:44:37 +08:00
langhuihui
335af79dde fix: cors add Authorization 2024-12-26 14:25:30 +08:00
pg
0fd16f070c fix:mp4 SeekTime timestamp is wrong 2024-12-26 10:12:54 +08:00
langhuihui
fdf81335bf feat: add api auth by jwt 2024-12-25 17:34:07 +08:00
pg
300304954c fix:search record sql use recordmode=auto 2024-12-24 09:03:58 +08:00
langhuihui
ebade42c73 fix: add push proxy 2024-12-23 09:24:13 +08:00
pg
16d8f00e85 fix:transformer.go config.subscribe.subtype is SubscribeTypeTransform 2024-12-22 23:26:43 +08:00
pg
0913df7b8c fix:
1.recordmode:Change "recordmode" from the original "1, 0" to "auto, event".
original is :1 is event record,0 is auto record.
2.eventleve:Change "eventlevel" from the original "0, 1" to "high, low".
original is :1 is event low,0 is event high.
2024-12-22 17:40:30 +08:00
godkun
3ea37046ff feat(debug): 添加 CPU 分析图功能
- 实现了 GetCpuGraph 方法,用于生成 CPU profile 的 dot 图
- 该方法在后台收集 1 秒的 CPU 数据,然后生成对应的 dot 图
- 新增功能使得可以更直观地分析 CPU 使用情况
2024-12-21 23:38:46 +08:00
godkun
b89b90eb40 feat(plugin/debug): 添加 CPU profiling 和阻塞分析功能
- 新增 GetCpu 方法获取 CPU profile 数据
- 启用阻塞分析并计算总阻塞时间
- 收集函数调用信息和运行时统计信息
2024-12-21 23:38:46 +08:00
pg
146cbd98b4 fix: add config.Subscribe.SubType 2024-12-20 22:19:27 +08:00
langhuihui
2dfc10e994 feat: add bps for subscribe 2024-12-19 19:48:14 +08:00
pg
3ce37cde94 fix:auth use streamPath wrong 2024-12-19 09:10:40 +08:00
pg
0ba2e1b270 fix:1.rtp/pkg/video.go playLoad maybe length is 0
2.exception.go delete oldest file sql must search end_time is not 1970-01-01 00:00:00
2024-12-19 09:10:40 +08:00
langhuihui
6037cbe18d feat: add subscriber type 2024-12-18 13:23:10 +08:00
langhuihui
0042568dff feat: speed up first sysInfo call 2024-12-17 16:05:36 +08:00
langhuihui
b3a3e37429 feat: add pprof 2024-12-16 20:06:39 +08:00
langhuihui
c1616740ec fix: listen tcp failed return err 2024-12-15 13:55:42 +08:00
langhuihui
4a66d542ce fix: db init table record 2024-12-13 11:47:23 +08:00
langhuihui
af8ab607bf feat: add auto update admin.zip 2024-12-13 11:02:55 +08:00
banshan
d30b123de9 feat: add snap watermark 2024-12-12 22:20:52 +08:00
langhuihui
d78225c357 fix: cascade 2024-12-12 20:17:56 +08:00
banshan
3041d11648 fix: incomplete part of the snap image 2024-12-09 23:29:09 +08:00
pg
e47e039d29 fix:optimize mp4 event record 2024-12-09 22:08:34 +08:00