mirror of
https://github.com/owncast/owncast.git
synced 2025-11-01 19:32:20 +08:00
Make things not break if video passthrough is enabled + update admin to display video settings a bit clearer. A start to #306
This commit is contained in:
@ -13,7 +13,7 @@ func GetServerConfig(w http.ResponseWriter, r *http.Request) {
|
||||
var videoQualityVariants = make([]config.StreamQuality, 0)
|
||||
for _, variant := range config.Config.GetVideoStreamQualities() {
|
||||
videoQualityVariants = append(videoQualityVariants, config.StreamQuality{
|
||||
IsAudioPassthrough: variant.IsAudioPassthrough,
|
||||
IsAudioPassthrough: variant.GetIsAudioPassthrough(),
|
||||
IsVideoPassthrough: variant.IsVideoPassthrough,
|
||||
Framerate: variant.GetFramerate(),
|
||||
EncoderPreset: variant.GetEncoderPreset(),
|
||||
|
||||
Reference in New Issue
Block a user