From ab125a1489eaf51dfb8e655f5cf9ec716870ca6a Mon Sep 17 00:00:00 2001 From: tian <11429339@qq.com> Date: Sun, 26 Jul 2026 13:17:37 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=BB=98=E8=AE=A4=E5=B8=A7=E7=8E=87?= =?UTF-8?q?=E6=94=B9=E4=B8=BA30?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/web/ui.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/web/ui.go b/internal/web/ui.go index 39c8ce9..90a96e3 100644 --- a/internal/web/ui.go +++ b/internal/web/ui.go @@ -1484,7 +1484,7 @@ func (u *UI) actionWizardCreateSource(w http.ResponseWriter, r *http.Request) { Config: service.VideoSourceConfig{ URL: rtspURL, Resolution: "1920x1080", - FPS: "25", + FPS: "30", }, } if err := u.preview.SaveVideoSourceAsset(asset, ""); err != nil { @@ -3787,8 +3787,8 @@ func (u *UI) actionVideoSourceCSVTemplate(w http.ResponseWriter, r *http.Request w.Header().Set("Content-Disposition", "attachment; filename=video_sources_template.csv") w.Write([]byte("\xef\xbb\xbf")) // BOM for Excel w.Write([]byte("name,source_type,area,url,resolution,fps,description\n")) - w.Write([]byte("车间东门,rtsp,车间A,rtsp://192.168.1.100:554/stream1,1920x1080,25,\n")) - w.Write([]byte("车间西门,rtsp,车间A,rtsp://192.168.1.101:554/stream1,1920x1080,25,\n")) + w.Write([]byte("车间东门,rtsp,车间A,rtsp://192.168.1.100:554/stream1,1920x1080,30,\n")) + w.Write([]byte("车间西门,rtsp,车间A,rtsp://192.168.1.101:554/stream1,1920x1080,30,\n")) } func (u *UI) actionVideoSourceCSVImport(w http.ResponseWriter, r *http.Request) { @@ -3876,7 +3876,7 @@ func (u *UI) actionVideoSourceCSVImport(w http.ResponseWriter, r *http.Request) resolution = "1920x1080" } if fps == "" { - fps = "25" + fps = "30" } asset := service.ConfigVideoSourceAsset{ Name: name,