From a0145b4b241dc187e83925c7aa702876eb87e650 Mon Sep 17 00:00:00 2001 From: seydx Date: Tue, 20 May 2025 15:52:26 +0200 Subject: [PATCH] revert handlers --- internal/streams/handlers.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/internal/streams/handlers.go b/internal/streams/handlers.go index d2b99d65..3240abb5 100644 --- a/internal/streams/handlers.go +++ b/internal/streams/handlers.go @@ -4,7 +4,6 @@ import ( "errors" "strings" - "github.com/AlexxIT/go2rtc/internal/app" "github.com/AlexxIT/go2rtc/pkg/core" ) @@ -47,8 +46,7 @@ func GetProducer(url string) (core.Producer, error) { } if handler, ok := handlers[scheme]; ok { - parsedURL := app.ResolveSecrets(url) - return handler(parsedURL) + return handler(url) } } @@ -91,8 +89,7 @@ func GetConsumer(url string) (core.Consumer, func(), error) { scheme := url[:i] if handler, ok := consumerHandlers[scheme]; ok { - parsedURL := app.ResolveSecrets(url) - return handler(parsedURL) + return handler(url) } }