feat: add stream_enabled config to control ffmpeg pulling and optimize infer startup script

This commit is contained in:
2026-05-09 09:48:43 +08:00
parent 97a77d4745
commit 966ef512ab
3 changed files with 30 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ type Config struct {
MqttUser string `yaml:"mqtt_user"`
MqttPass string `yaml:"mqtt_pass"`
EdgeToken string `yaml:"edge_token"`
StreamEnabled bool `yaml:"stream_enabled"`
RTSPURLs []string `yaml:"rtsp_urls"`
InferSocket string `yaml:"infer_socket"`
InferFPS int `yaml:"infer_fps"`