From 454a76f42ea4b53dc211d28f35f5177d44464a1b Mon Sep 17 00:00:00 2001 From: Kieran Date: Thu, 27 Jul 2023 21:16:23 +0100 Subject: [PATCH] Play from cluster vhost --- NostrStreamer/Services/ThumbnailService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NostrStreamer/Services/ThumbnailService.cs b/NostrStreamer/Services/ThumbnailService.cs index e754e0f..5bf06b6 100644 --- a/NostrStreamer/Services/ThumbnailService.cs +++ b/NostrStreamer/Services/ThumbnailService.cs @@ -25,7 +25,7 @@ public class ThumbnailService try { var cmd = FFMpegArguments - .FromUrlInput(new Uri(_config.RtmpHost, $"{stream.Endpoint.App}/{stream.User.StreamKey}")) + .FromUrlInput(new Uri(_config.RtmpHost, $"{stream.Endpoint.App}/source/{stream.User.StreamKey}?vhost=hls.zap.stream")) .OutputToFile(path, true, o => { o.ForceFormat("image2").WithCustomArgument("-vframes 1"); }); _logger.LogInformation("Running command {cmd}", cmd.Arguments);