This commit is contained in:
legop3
2025-11-14 04:47:24 -05:00
parent ce99309b5d
commit d47ff3f60a
5 changed files with 41 additions and 14 deletions
+2 -2
View File
@@ -94,7 +94,7 @@ func LoadConfig(path string) (*Config, error) {
},
Media: MediaConfig{
WhepPort: 8889,
WhepPath: "/whep/rovercam",
WhepPath: "/rovercam/whep",
HealthInterval: Duration{Duration: 30 * time.Second},
},
}
@@ -135,7 +135,7 @@ func LoadConfig(path string) (*Config, error) {
}
path := cfg.Media.WhepPath
if path == "" {
path = "/whep/rovercam"
path = "/rovercam/whep"
}
path = ensureLeadingSlash(path)
scheme := "http"