Files
rikkei_simple_care/client/internal/camera/camera_other.go
Phuoc NTB 604ce9ea16
All checks were successful
Deploy on Master Change / deploy (push) Successful in 38s
fix: restore Windows webcam stream support by conditionally delegating to frontend events
2026-07-01 13:29:47 +07:00

23 lines
451 B
Go

//go:build !darwin
package camera
import "log"
const IsNative = false
// 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 ""
}