KVMManagerV4cr
Updated KVM manager using V4cr for video capture instead of FFmpeg
Constants
Log = ::Log.for(self)
Constructors
new(video_device : String = "/dev/video1", audio_device : String = "hw:1,0", width : UInt32 = 640_u32, height : UInt32 = 480_u32, fps : Int32 = 30, video_jpeg_quality : Int32 = 100, ecm_enabled = false, disable_mouse : Bool = false, disable_ethernet : Bool = false, disable_mass_storage : Bool = false, hotplug_interval : Time::Span = 60.seconds)
SourceClass methods
Instance methods
audio_device
Sourceaudio_running?
Sourceavailable_qualities
Sourcedisable_ecm
Sourceecm_status
Sourceensure_decompressed_image(image : String | Nil) : NamedTuple(success: Bool, raw_image: String | Nil, message: String | Nil)
Ensure the image is a raw .img file, return the raw image filename to use for mounting
ethernet_disabled?
Sourcefps
Sourceheight
Sourcehotplug_active?
Sourcekeyboard_enabled?
Sourcemass_storage_disabled?
Sourcemouse_disabled?
Sourcemouse_enabled?
Sourceselected_quality
SourceSend absolute mouse move (for absolute pointer device)
setup_hid_devices
Sourcestart_video_stream
Sourcestatus
Sourcestop_audio_stream
Sourcestop_hotplug_polling
Sourcestop_video_stream
Sourceupload_and_decompress_image(uploaded_path : String, orig_filename : String) : NamedTuple(success: Bool, message: String, filename: String | Nil)
Upload and decompress a disk image, always storing as .img
video_capture
Sourcevideo_device
Sourcevideo_device_present?
Sourcevideo_running?
Sourcewidth
Source