mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-07-29 21:31:45 +08:00
fix:改进atx usb 继电器适配;修复 webrtc 无法建立连接问题;网页样式优化
This commit is contained in:
@@ -35,6 +35,14 @@ export function buildWsUrl(path: string): string {
|
||||
/** Default reconnect delay in milliseconds */
|
||||
export const WS_RECONNECT_DELAY = 3000
|
||||
|
||||
export type StreamDeviceLostKind = 'video' | 'audio'
|
||||
|
||||
export interface StreamDeviceLostEventData {
|
||||
kind: StreamDeviceLostKind
|
||||
device: string
|
||||
reason: string
|
||||
}
|
||||
|
||||
/** WebSocket ready states */
|
||||
export const WS_STATE = {
|
||||
CONNECTING: WebSocket.CONNECTING,
|
||||
|
||||
Reference in New Issue
Block a user