From 21a4b2b797bb91947ed3702b8d26a99fef4ca157 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Tue, 18 Jun 2024 23:35:22 +0200 Subject: [PATCH] autostart broadcast only if url is set. --- server/internal/capture/broadcast.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/internal/capture/broadcast.go b/server/internal/capture/broadcast.go index a3aa48ca5..fc6727e13 100644 --- a/server/internal/capture/broadcast.go +++ b/server/internal/capture/broadcast.go @@ -32,7 +32,7 @@ func broadcastNew(pipelineFn func(url string) (string, error), url string, start logger: logger, pipelineFn: pipelineFn, url: url, - started: started, + started: started && url != "", } }