Files
overlord/Overlord-Client/cmd/agent/capture/h264_encoder_stub.go
T

35 lines
669 B
Go
Raw Normal View History

//go:build !cgo
package capture
import (
"errors"
"image"
)
func encodeH264Frame(_ *image.RGBA) ([]byte, error) {
return nil, errors.New("h264 support not available (cgo disabled)")
}
func h264Available() bool {
return false
}
2026-03-06 13:27:51 -06:00
func h264AvailabilityDetail() string {
return "cgo disabled in this build"
}
func resetH264Encoder() {}
func resetH264EncoderHVNC() {}
func encodeH264FrameHVNC(_ *image.RGBA) ([]byte, error) {
return nil, errors.New("h264 support not available (cgo disabled)")
}
2026-05-21 21:26:55 -05:00
func encodeH264FrameWebcam(_ *image.RGBA) ([]byte, error) {
return nil, errors.New("h264 support not available (cgo disabled)")
}
func SetH264TargetFPS(_ int) {}