diff --git a/internal/web/ui.go b/internal/web/ui.go index 62fd2f9..7f84b00 100644 --- a/internal/web/ui.go +++ b/internal/web/ui.go @@ -1675,7 +1675,7 @@ func (u *UI) actionDevicesExportChannels(w http.ResponseWriter, r *http.Request) w.Header().Set("Content-Type", "text/csv; charset=utf-8") w.Header().Set("Content-Disposition", "attachment; filename=video_channels.csv") w.Write([]byte("\xef\xbb\xbf")) - w.Write([]byte("设备名,IP,通道名,视频源,RTSP地址,HLS地址\n")) + w.Write([]byte("设备名,IP,视频源,RTSP地址,HLS地址\n")) if u.preview == nil { return @@ -1711,8 +1711,8 @@ func (u *UI) actionDevicesExportChannels(w http.ResponseWriter, r *http.Request) } rtsp := fmt.Sprintf("rtsp://%s:%s/live/%s", devIP, rtspPort, unit.Name) hls := fmt.Sprintf("http://%s:9000/hls/%s/index.m3u8", devIP, unit.Name) - fmt.Fprintf(w, "%s,%s,%s,%s,%s,%s\n", - escapeCSV(devName), escapeCSV(devIP), escapeCSV(unit.Name), + fmt.Fprintf(w, "%s,%s,%s,%s,%s\n", + escapeCSV(devName), escapeCSV(devIP), escapeCSV(unit.VideoSourceRef), escapeCSV(rtsp), escapeCSV(hls)) } } diff --git a/safesightd-linux-arm64 b/safesightd-linux-arm64 index a5648bb..0fc63ca 100644 Binary files a/safesightd-linux-arm64 and b/safesightd-linux-arm64 differ