Commit 036dd914 authored by pedrolab's avatar pedrolab

jitsi meet: chrome/chromium extension not required

documentation cleanup
parent 70c5e45b
......@@ -8,11 +8,7 @@
- [Disable third party stuff](#disable-third-party-stuff)
- [Enable Screen Capture for Firefox](#enable-screen-capture-for-firefox)
- [Enable Screen Capture for Chromium/Chrome](#enable-screen-capture-for-chromiumchrome)
- [DIY](#diy)
- [Optional additional step: facilitate DIY](#optional-additional-step-facilitate-diy)
- [Optional additional step: going official](#optional-additional-step-going-official)
- [Troubleshooting](#troubleshooting)
- [Chromium/Chrome: Screen sharing extension failed to install](#chromiumchrome-screen-sharing-extension-failed-to-install)
- [More info](#more-info)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
......@@ -63,81 +59,7 @@ src https://github.com/jitsi/jidesha/blob/master/firefox/README.md#deprecation
# Enable Screen Capture for Chromium/Chrome
## DIY
Do what official documentation says: https://github.com/jitsi/jidesha/blob/master/chrome/README.md#create-the-extension
I suggest:
sudo apt install git
git clone https://github.com/jitsi/jidesha
cd jidesha
What is missing after that is how to generate the crx. Let's go!
Requirements for debian 9 (src https://stackoverflow.com/a/33432126):
sudo apt install rubygems-integration ruby ruby-dev
After that install the application that does the crx
sudo gem install crxmake
Assuming we are in the same directory (the git repository) we generate the pack extension with the chrome directory:
crxmake --pack-extension chrome
after that you will see in the same directory `chrome.crx`
drag it to your extensions in chrome/chromium and copy the `id`
In your jitsi server (replace example.com with your domain) `/etc/jitsi/meet/meet.example.com-config.js` paste your `id`:
```diff
- desktopSharingChromeExtId: 'diibjkoicjeejcmhdnailmkgecihlobk',
+ desktopSharingChromeExtId: 'myidisherelalalalalalalalalalala',
```
## Optional additional step: facilitate DIY
You can put a message in the welcome page explaining how to install chrome/chromium extension:
/usr/share/jitsi-meet/index.html
[catalan]
```diff
</head>
<body>
+ &nbsp;
+ <p align="center" style="user-select: auto !important; -webkit-user-select: auto !important;">Si utilitzes Chromium/Chrome cal descarregar un plugin per compartir pantalla <a href="https://meet.guifi.net/chrome.crx" target="_blank" style="user-select: auto !important; -webkit-user-select: auto !important;">aquí</a>. Després ves a <strong style="user-select: auto !important; -webkit-user-select: auto !important;">chrome://extensions</strong> i des d'allà arrastra el addon per instal·lar-lo</p>
+ &nbsp;
<div id="react"></div>
<div id="keyboard-shortcuts" class="keyboard-shortcuts" style="display:none;">
```
[english]
```diff
</head>
<body>
+ &nbsp;
+ <p align="center" style="user-select: auto !important; -webkit-user-select: auto !important;">If you use Chromium/Chrome you have to download a plugin to share your screen <a href="https://meet.guifi.net/chrome.crx" target="_blank" style="user-select: auto !important; -webkit-user-select: auto !important;">here</a>. After that go to <strong style="user-select: auto !important; -webkit-user-select: auto !important;">chrome://extensions</strong> and drag there the addon to install it</p>
+ &nbsp;
<div id="react"></div>
<div id="keyboard-shortcuts" class="keyboard-shortcuts" style="display:none;">
```
## Optional additional step: going official
If you want facilitate plugin installation (as you may see in meet.jit.si) you have to do the following:
- get developer account https://chrome.google.com/webstore/developer/dashboard
- pay 5$ (one time payment) - but you can register limited (20) number of applications in store -> src https://chrome.google.com/webstore/developer/about_signup
- Verify that this is an official item for a website you own (add new, select), scp html that gives google to /usr/share/jitsi-meet (remember to use https, and set https as the url, redirection won't work)
- ~~check `inline install` -> src info about inline install https://developer.chrome.com/webstore/inline_installation?hl=en-US~~ -> inline installation is not supported anymore -> https://github.com/jitsi/jidesha/issues/41
- Verify that this is an official item for a website you own -> src https://stackoverflow.com/questions/25920728/how-to-specify-verified-site-to-a-chrome-app
- put `visibility options` as `unlisted`
[Since chrome/chromium 72 extension is not needed anymore.](https://github.com/jitsi/jidesha/issues/47). So it should work out of the box :)
# Troubleshooting
......@@ -153,12 +75,6 @@ try restarting services (or reboot):
service jitsi-videobridge restart
service prosody restart
## Chromium/Chrome: Screen sharing extension failed to install
In the console log (F12) says: [modules/RTC/ScreenObtainer.js] <Object.handleExtensionInstallationError>: Failed to install the extension from https://chrome.google.com/webstore/detail/xxxx (xxxx = your extension) Inline installs can only be initiated for Chrome Web Store items that have one or more verified sites.
Verify the site
# More info
- Jitsi Videobridge documentation - https://github.com/jitsi/jitsi-videobridge/blob/master/doc
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment