From e5c879dc0516d1f934eb1817555924be8d98d56a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Pr=C3=BCckl?= Date: Fri, 29 May 2026 10:11:27 +0200 Subject: [PATCH] feat(vncscreen): the RFB class accepts a RTCDataChannel instead if a WebSocket too You could use a WebRTC RTCDataChannel to exchange VNC data. The noVNC RFB class already suppots this. --- src/lib/VncScreen.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/VncScreen.tsx b/src/lib/VncScreen.tsx index 59222bd..a862d81 100644 --- a/src/lib/VncScreen.tsx +++ b/src/lib/VncScreen.tsx @@ -11,7 +11,7 @@ type EventListeners = { [T in NoVncEventType]?: (event: NoVncEvents[T]) => void export interface Props { url?: string; - websocket?: WebSocket; + websocket?: WebSocket | RTCDataChannel; style?: object; className?: string; viewOnly?: boolean;