为什么Google环聊支持在最新的Chrome中没有Chrome扩展程序时共享桌面?
据我所知,在浏览器中,例如Chrome,共享桌面或应用程序需要使用Chrome扩展程序,例如:
As far as I know, in browser, such as Chrome, sharing desktop or application needs a Chrome Extension to work, eg:
chrome.permissions.request({
permissions: ['desktopCapture'],
}
但为什么Google Hangouts不需要任何扩展程序来捕获桌面?
But why does Google Hangouts do not need any extension to capture desktop?
是否有适用于此的JavaScript API?
Is there any API of JavaScript for this?
截至目前,Google Hangouts 确实使用了扩展程序,它刚刚集成到Chrome中,无法显示。
As of now, Google Hangouts does use an extension, it's just integrated into Chrome to the point of not being visible.
资料来源: Chromium问题以消除这种特殊待遇
您可以通过手动打开来测试它是否(隐秘地)安装
You can test that it is (stealthily) installed by manually opening
chrome-extension://nkeimhogjdpnpccoofpliimaahmaaome/background.html
与此同时,正在进行工作以支持WebRTC规范进行屏幕共享( getDisplayMedia )。默认情况下,Chrome版本尚未启用,但很快就会启用(代码已在代码库中)。
At the same time, work is ongoing to support WebRTC spec for screen sharing (getDisplayMedia
) in Chrome. It's not yet enabled by default in released Chrome versions, but will be very soon (code is already in the codebase).
实施跟踪: Chromium问题