This commit is contained in:
2026-07-01 12:43:09 +07:00
parent 0d1e240227
commit 44888520cb
16 changed files with 588 additions and 22 deletions

View File

@@ -0,0 +1,20 @@
//go:build !darwin
package camera
import "log"
// StartCapture is a no-op on non-darwin platforms (Windows uses different webcam API)
func StartCapture() error {
log.Println("[CAMERA] Native camera capture not supported on this platform")
return nil
}
// StopCapture is a no-op on non-darwin platforms
func StopCapture() {
}
// GetFrame always returns empty on non-darwin platforms
func GetFrame() string {
return ""
}