You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何在BigBlueButton中禁用全屏共享,仅允许应用窗口及浏览器标签页共享?

Absolutely, you can restrict full-screen sharing while keeping application window and browser tab sharing enabled in BigBlueButton—here are two reliable ways to make this work:

1. Check for Server-Side Configuration Tweaks

First, start by checking if there’s a native configuration option to disable just full-screen sharing (since the global "Disable screen sharing" toggle kills all sharing, which isn’t what you want).

  • Navigate to your BBB HTML5 client’s config directory, typically at /usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml
  • Look for screen-sharing related keys (like public.screenshare). Unfortunately, BBB doesn’t ship with an out-of-the-box setting to disable only full-screen sharing, so you’ll likely need to modify the client code instead.
2. Modify the HTML5 Client Code

This is the most direct way to hide the full-screen option and block it from being used. Here’s how to do it:

Step 1: Locate the Screen Share Component Files

In the BBB HTML5 client codebase (if you’re running a self-hosted instance or have access to the demo app code), find the component responsible for rendering screen share options. Common paths include:

  • imports/ui/components/screenshare/screenshare.jsx
  • imports/ui/components/screenshare/ScreenshareDialog.jsx (depending on your BBB version)

Step 2: Remove the Full-Screen Option

Look for the code that defines the three share options. It’ll look something like this:

const shareOptions = [
  { id: 'screen', label: 'Your Entire Screen', type: 'screen' },
  { id: 'window', label: 'Application Window', type: 'window' },
  { id: 'tab', label: 'Chrome Tab', type: 'tab' },
];

Simply remove the screen entry to hide the full-screen option:

const shareOptions = [
  { id: 'window', label: 'Application Window', type: 'window' },
  { id: 'tab', label: 'Chrome Tab', type: 'tab' },
];

To prevent users from bypassing the frontend restriction (e.g., via browser dev tools), add a check on the server side to reject full-screen share requests:

  1. Open the screen share handler file, usually at imports/api/screenshare/server/handlers.js
  2. In the function that processes share start requests, add a check for the share type:
// Inside the handler function for starting screen share
if (shareType === 'screen') {
  throw new Meteor.Error('not-allowed', 'Full-screen sharing has been disabled');
}

Step 4: Rebuild and Deploy the Client

After making changes, rebuild the BBB HTML5 client (if self-hosted) with commands like:

cd /usr/share/meteor/bundle
sudo meteor npm run build
sudo systemctl restart bbb-html5

Important Notes

  • If you’re using a managed BBB service and don’t have code access, reach out to your provider to see if they can implement this custom restriction for you.
  • Always back up original code files before making modifications—this makes it easy to revert if something breaks.
  • Code paths might vary slightly between BBB versions, so double-check the file structure for your specific release.

内容的提问来源于stack exchange,提问作者Afsar Ahamad

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.07 20:18:13