mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-31 01:51:53 +08:00
Add support for PiKVM Switch and related features
This commit introduces several new components and improvements: - Added Switch module with firmware update and configuration support - Implemented new media streaming capabilities - Updated various UI elements and CSS styles - Enhanced keyboard and mouse event handling - Added new validators and configuration options - Updated Python version support to 3.13 - Improved error handling and logging
This commit is contained in:
@@ -63,6 +63,10 @@ class StreamerFormats:
|
||||
H264 = 875967048 # V4L2_PIX_FMT_H264
|
||||
_MJPEG = 1196444237 # V4L2_PIX_FMT_MJPEG
|
||||
|
||||
@classmethod
|
||||
def is_diff(cls, fmt: int) -> bool:
|
||||
return (fmt == cls.H264)
|
||||
|
||||
|
||||
class BaseStreamerClient:
|
||||
def get_format(self) -> int:
|
||||
|
||||
Reference in New Issue
Block a user