mediamtx/internal/staticsources/rpicamera/camera_disabled.go
2024-11-06 15:07:33 +01:00

23 lines
363 B
Go

//go:build !linux || (!arm && !arm64)
package rpicamera
import (
"fmt"
"time"
)
type camera struct {
Params params
OnData func(time.Duration, [][]byte)
}
func (c *camera) initialize() error {
return fmt.Errorf("server was compiled without support for the Raspberry Pi Camera")
}
func (c *camera) close() {
}
func (c *camera) reloadParams(_ params) {
}