Browse Source

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

pull/771/head
Bradley Hilton 4 years ago committed by GitHub
parent
commit
b61a952bd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      controllers/admin/serverConfig.go

2
controllers/admin/serverConfig.go

@ -23,6 +23,8 @@ func GetServerConfig(w http.ResponseWriter, r *http.Request) { @@ -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{

Loading…
Cancel
Save