node.js 使用 WebRTC 创建远程桌面

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/19593989/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-02 16:05:07  来源:igfitidea点击:

Create Remote Desktop with WebRTC

node.jswebrtc

提问by Tom

is possible create a remote desktop app between browsers with WebRTC (or maybe with Node.JS if possible)?

是否可以使用 WebRTC(或者如果可能的话,使用 Node.JS)在浏览器之间创建远程桌面应用程序?

I see the Google Chrome have this extension, but i need create a remote desktop app to my helpdesk software.

我看到谷歌浏览器有这个扩展,但我需要为我的帮助台软件创建一个远程桌面应用程序。

采纳答案by Muaz Khan

Try chrome's desktopCaptureexperimental extension API. You can test this chrome extension!

试试 chrome 的desktopCapture实验性扩展 API。您可以测试这个 chrome 扩展

Updated at: Oct 06, 2015

更新于:2015 年 10 月 6 日

desktopCapture APIin Chrome or screen capturing APIin Firefox doesn't provides remote-desktop-access or remote-desktop-control.

Chrome 中的desktopCapture API或Firefox 中的屏幕捕获 API不提供远程桌面访问或远程桌面控制。

Both API providers generates stateless screen; and remote users can merely view the screen.

两个 API 提供者都生成无状态屏幕;远程用户只能查看屏幕。

Here is a browser-based VNC client:

这是一个基于浏览器的 VNC 客户端:

VNC client using HTML5 (Web Sockets, Canvas) with encryption (wss://) support. http://novnc.com

Source code: https://github.com/kanaka/noVNC

VNC 客户端使用 HTML5(Web Sockets、Canvas)和加密 (wss://) 支持。http://novnc.com

源代码:https: //github.com/kanaka/noVNC

You can easily switch from WebSockets to WebRTC data channels.

您可以轻松地从 WebSockets 切换到 WebRTC 数据通道。

回答by Ajax

Try this: VNC client on 200 lines of JavaScript

试试这个:200 行 JavaScript 的VNC 客户端

Guacamole is aclientless remote desktop gateway. It supports standard protocols like VNC and RDP. Thanks to HTML5, once Guacamole server is installed, all you need to access your desktops is a web browser.

Guacamole 是一个无客户端的远程桌面网关。它支持标准协议,如 VNC 和 RDP。多亏了 HTML5,一旦安装了 Guacamole 服务器,您访问桌面所需的只是一个网络浏览器。

回答by niutech

ScreenCatis a remote desktop in JS using WebRTC under the hood.

ScreenCat是一个在 JS 中使用 WebRTC 的远程桌面。