tam
This commit is contained in:
20
client/internal/camera/camera_other.go
Normal file
20
client/internal/camera/camera_other.go
Normal 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 ""
|
||||
}
|
||||
Reference in New Issue
Block a user