video invert optional

This commit is contained in:
legop3
2026-03-25 16:23:28 -04:00
parent af7782a233
commit 24d0242364
7 changed files with 11 additions and 2 deletions
+2
View File
@@ -84,6 +84,7 @@ type MediaConfig struct {
AudioPublishURL string `yaml:"audioPublishUrl" json:"audioPublishUrl,omitempty"`
AudioForwardURL string `yaml:"audioForwardUrl" json:"audioForwardUrl,omitempty"`
PublishPort int `yaml:"publishPort" json:"-"`
CameraInverted bool `yaml:"cameraInverted" json:"-"`
Manage bool `yaml:"manage"`
ManageAudio bool `yaml:"manageAudio"`
Service string `yaml:"service"`
@@ -178,6 +179,7 @@ func LoadConfig(path string) (*Config, error) {
},
Media: MediaConfig{
PublishPort: 9000,
CameraInverted: true,
HealthInterval: Duration{Duration: 30 * time.Second},
VideoBitrate: 2000000,
},