add recording, fix solpush, persistence tests and tiny improvements
This commit is contained in:
@@ -21,6 +21,8 @@ func h264AvailabilityDetail() string {
|
||||
|
||||
func resetH264Encoder() {}
|
||||
|
||||
func RequestDesktopH264Keyframe() {}
|
||||
|
||||
func resetH264EncoderHVNC() {}
|
||||
|
||||
func encodeH264FrameHVNC(_ *image.RGBA) ([]byte, error) {
|
||||
|
||||
@@ -126,6 +126,10 @@ func resetH264Encoder() {
|
||||
closeH264EncoderLocked()
|
||||
}
|
||||
|
||||
func RequestDesktopH264Keyframe() {
|
||||
resetH264Encoder()
|
||||
}
|
||||
|
||||
func closeH264EncoderLocked() {
|
||||
if h264Enc != nil {
|
||||
_ = h264Enc.Close()
|
||||
|
||||
Reference in New Issue
Block a user