Skip to content

Commit 59e5f6a

Browse files
Brandon Salzbergclaude
authored andcommitted
Switch dash hostname to dash-internal for local testing
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 41d6c4a commit 59e5f6a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

cmd/analyze.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,8 @@ func runAnalyzeFootage(cmd *cobra.Command, args []string) error {
316316
continue
317317
}
318318

319-
// Use dash-api hostname for cert-based API auth
320-
frameUri = strings.Replace(frameUri, ".dash.rhombussystems.com", ".dash-api.rhombussystems.com", 1)
319+
// Use dash-internal hostname for cert-based API auth
320+
frameUri = strings.Replace(frameUri, ".dash.rhombussystems.com", ".dash-internal.rhombussystems.com", 1)
321321

322322
if err := downloadWithAuthQuiet(cfg, frameUri, framePath); err != nil {
323323
continue

cmd/stitch.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ func runStitch(cmd *cobra.Command, args []string) error {
138138
}
139139
}
140140
if t, _ := resp["wanVodMpdUriTemplate"].(string); t != "" {
141-
// Use dash-api for cert-based WAN auth
142-
vt.wan = strings.Replace(t, ".dash.rhombussystems.com", ".dash-api.rhombussystems.com", 1)
141+
// Use dash-internal for cert-based WAN auth
142+
vt.wan = strings.Replace(t, ".dash.rhombussystems.com", ".dash-internal.rhombussystems.com", 1)
143143
}
144144
if vt.lan != "" || vt.wan != "" {
145145
vodTemplates[camUUID] = vt
@@ -361,7 +361,7 @@ func downloadVODClipLAN(cfg config.Config, lanTemplate string, startSec, duratio
361361
return downloadVODClipFromMPD(httpClient, mpdURL, durationSec, outputPath, setHeaders)
362362
}
363363

364-
// downloadVODClipWAN downloads a VOD clip via WAN using cert-based auth on dash-api.
364+
// downloadVODClipWAN downloads a VOD clip via WAN using cert-based auth on dash-internal.
365365
// WAN templates use {START_TIME}/{DURATION}/vod/file.mpd format.
366366
func downloadVODClipWAN(cfg config.Config, wanTemplate string, startSec, durationSec int64, outputPath string) error {
367367
mpdURL := strings.Replace(wanTemplate, "{START_TIME}", fmt.Sprintf("%d", startSec), 1)

0 commit comments

Comments
 (0)