为什么Google环聊支持在最新的Chrome中没有Chrome扩展程序时共享桌面? [英] Why does Google hangouts support sharing desktop without Chrome Extension in latest Chrome?

查看:136
本文介绍了为什么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规范进行屏幕共享(< Chrome中的code> 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问题

这篇关于为什么Google环聊支持在最新的Chrome中没有Chrome扩展程序时共享桌面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆