Fix #628: Add setting to transcode stream

This commit is contained in:
Drew Weymouth
2025-05-31 10:12:57 -07:00
parent 0fd8b4621b
commit 265e4f961f
9 changed files with 74 additions and 15 deletions
+8 -2
View File
@@ -142,7 +142,10 @@ type ThemeConfig struct {
}
type TranscodingConfig struct {
ForceRawFile bool
ForceRawFile bool
RequestTranscode bool
Codec string
MaxBitRateKBPS int
}
type PeakMeterConfig struct {
@@ -260,7 +263,10 @@ func DefaultConfig(appVersionTag string) *Config {
PreventClipping: true,
},
Transcoding: TranscodingConfig{
ForceRawFile: false,
ForceRawFile: false,
RequestTranscode: false,
Codec: "opus",
MaxBitRateKBPS: 160,
},
Theme: ThemeConfig{
Appearance: "Dark",