add: sensors

This commit is contained in:
Charles Hathaway
2023-10-01 22:02:30 -07:00
parent a07a993bab
commit ac4e32697c
13 changed files with 1247 additions and 191 deletions
+4 -2
View File
@@ -17,8 +17,10 @@ type Cmd struct {
}
type Config struct {
H264Cmd *Cmd `yaml:"h264"`
IVFCmd *Cmd `yaml:"ivf"`
H264Cmd *Cmd `yaml:"h264"`
IVFCmd *Cmd `yaml:"ivf"`
SensorCmd *Cmd `yaml:"sensor"`
SensorRateMS int64 `yaml:"sensor_rate_ms"`
}
func New(source []byte) (*Config, error) {