fix crashing issue due to H264 if running at the same time.
This commit is contained in:
@@ -21,4 +21,10 @@ func h264AvailabilityDetail() string {
|
||||
|
||||
func resetH264Encoder() {}
|
||||
|
||||
func resetH264EncoderHVNC() {}
|
||||
|
||||
func encodeH264FrameHVNC(_ *image.RGBA) ([]byte, error) {
|
||||
return nil, errors.New("h264 support not available (cgo disabled)")
|
||||
}
|
||||
|
||||
func SetH264TargetFPS(_ int) {}
|
||||
|
||||
Reference in New Issue
Block a user