From b61a952bd880c8334b3e84282fcc276ee8222677 Mon Sep 17 00:00:00 2001 From: Bradley Hilton Date: Fri, 26 Feb 2021 13:01:53 -0600 Subject: [PATCH] Return the scaled height and width of a stream output variant (#769) --- controllers/admin/serverConfig.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/controllers/admin/serverConfig.go b/controllers/admin/serverConfig.go index 8fcd970ce..f47323f51 100644 --- a/controllers/admin/serverConfig.go +++ b/controllers/admin/serverConfig.go @@ -23,6 +23,8 @@ func GetServerConfig(w http.ResponseWriter, r *http.Request) { VideoBitrate: variant.VideoBitrate, AudioBitrate: variant.AudioBitrate, CPUUsageLevel: variant.GetCPUUsageLevel(), + ScaledWidth: variant.ScaledWidth, + ScaledHeight: variant.ScaledHeight, }) } response := serverConfigAdminResponse{