From 5169e0aad3bcfb844315c44e2c26c36610274c28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Thu, 7 Nov 2024 16:48:29 +0100 Subject: [PATCH] fixes issue where url was updated after broadcast was started, #429. --- server/internal/capture/broadcast.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/internal/capture/broadcast.go b/server/internal/capture/broadcast.go index ea25b3b2..536f1597 100644 --- a/server/internal/capture/broadcast.go +++ b/server/internal/capture/broadcast.go @@ -78,12 +78,13 @@ func (manager *BroacastManagerCtx) Start(url string) error { manager.mu.Lock() defer manager.mu.Unlock() + manager.url = url + err := manager.createPipeline() if err != nil { return err } - manager.url = url manager.started = true return nil }