From 108fb8a7efe322977313e176bf7d08b76bf30bed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daw=C3=AEn?= <73998830+DawinYurtseven@users.noreply.github.com> Date: Tue, 29 Oct 2024 17:41:55 +0100 Subject: [PATCH] Aktualisieren von stream.go MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit jetzt sollte tumlive auf die richtige vm zugreifen müssen --- runner/actions/stream.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runner/actions/stream.go b/runner/actions/stream.go index f0a4da1fd..3dec9d2d7 100644 --- a/runner/actions/stream.go +++ b/runner/actions/stream.go @@ -106,7 +106,7 @@ func (a *ActionProvider) StreamAction() *Action { StreamID: uint32(streamID), CourseID: uint32(courseID), Version: version, - HLSUrl: fmt.Sprintf("http://localhost:8187/%d/%d/%s/%s/playlist.m3u8", courseID, streamID, version, end.Format("15-04-05")), + HLSUrl: fmt.Sprintf("http://%v:8187/%d/%d/%s/%s/playlist.m3u8",hostname, courseID, streamID, version, end.Format("15-04-05")), }) if resp.Ok != true { log.Warn("streamAction: NotifyStreamStarted failed")