是否有可能防止GetDisplayMedia改变重点?

发布于 2025-01-24 15:21:26 字数 261 浏览 1 评论 0 原文

当我使用navigator.mediadevices.getdisplaymedia()时,它将为用户提供一个窗口和选项卡的选择,以选择 当用途进行选择时,chrome将导航到选项卡/屏幕/窗口,用户选择要与getDisplaymidia()共享的用户

有办法让用户选择屏幕共享而无需Chrome浏览它,而是保持在相同的位置网页?

谢谢你!

When I use navigator.mediaDevices.getDisplayMedia() it will give the user a selection of windows and tabs to choose from media stream API selection choice
When the use makes a selection chrome will navigate to the tab/screen/window the user selected to share with the getDisplayMidia()

Is there a way for the user to select the screen to share without chrome navigating to it but rather staying on the same webpage?

Thank you!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文