mediamtx/internal/staticsources/rpicamera/camera_disabled.go
Alessandro Ros a05da3a205
Some checks failed
code_lint / golangci_lint (push) Has been cancelled
code_lint / mod_tidy (push) Has been cancelled
code_lint / api_docs (push) Has been cancelled
code_test / test_64 (push) Has been cancelled
code_test / test_32 (push) Has been cancelled
code_test / test_highlevel (push) Has been cancelled
rpi: route original absolute timestamp of packets (#1300) (#4382)
2025-03-31 13:18:56 +02:00

27 lines
413 B
Go

//go:build !linux || (!arm && !arm64)
package rpicamera
import (
"fmt"
"time"
)
type camera struct {
params params
onData func(int64, time.Time, [][]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) {
}
func (c *camera) wait() error {
return nil
}