19 lines
263 B
Go
19 lines
263 B
Go
//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
|
|
}
|
|
|
|
func resetH264Encoder() {}
|