Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Return the scaled height and width of a stream output variant (#769)

Bradley Hilton42a08e4bb589
diff --git a/controllers/admin/serverConfig.go b/controllers/admin/serverConfig.go
index 8fcd970ce4..f47323f514 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{