Sharing Desktop fails

Working with Zimbra Talk? This is your Forum, drop here your questions with the Installation, Configuration, etc.
Post Reply
flevee
Posts: 4
Joined: Tue Oct 25, 2016 9:57 am

Sharing Desktop fails

Post by flevee »

I have followed the instructions of the wikipage https://wiki.zimbra.com/wiki/Zimbra_Tal ... me_browser:
- I have installed the extension available at https://chrome.google.com/webstore/deta ... hjdibndnfp
- The commands to ensure there isn't a mismatched id give:

Code: Select all

root@zimbratalk:/tmp# cat /etc/zimbra-talk/talk.defaults.cfg | grep "CHROME_EXTENSION_ID"
CHROME_EXTENSION_ID = kdngbjobgegkbbifbijhmphjdibndnfp

root@zimbratalk:/tmp# cat /etc/jitsi/meet/zimbra-talk-config.js | grep "desktopSharingChromeExtId"
    desktopSharingChromeExtId: 'kdngbjobgegkbbifbijhmphjdibndnfp', // Id of desktop streamer Chrome extension
 
However when I want to share my desktop the following message appears "Permission denied Failed to install desktop sharing extension " and the javascript code throws the error:

Code: Select all

conference.js:934 failed to share local desktop JitsiTrackErrormessage: "Failed to install the extension from https://chrome.google.com/webstore/detail/kdngbjobgegkbbifbijhmphjdibndnfp"name: "gum.chrome_extension_installation_error"stack: "Error↵    at new JitsiTrackError (https://xmpp.ensicaen.fr/libs/lib-jitsi-meet.min.js?v=1187:6:20982)↵    at Object.handleExtensionInstallationError (https://xmpp.ensicaen.fr/libs/lib-jitsi-meet.min.js?v=1187:8:18178)↵    at Object.obtainScreenFromExtension (https://xmpp.ensicaen.fr/libs/lib-jitsi-meet.min.js?v=1187:8:17633)↵    at Object.<anonymous> (https://xmpp.ensicaen.fr/libs/lib-jitsi-meet.min.js?v=1187:8:10391)↵    at Object.obtainAudioAndVideoPermissions (https://xmpp.ensicaen.fr/libs/lib-jitsi-meet.min.js?v=1187:8:8367)↵    at Function.RTC.obtainAudioAndVideoPermissions (https://xmpp.ensicaen.fr/libs/lib-jitsi-meet.min.js?v=1187:7:12052)↵    at Object.createLocalTracks (https://xmpp.ensicaen.fr/libs/lib-jitsi-meet.min.js?v=1187:6:12040)↵    at createLocalTracks (https://xmpp.ensicaen.fr/libs/app.bundle.min.js?v=1187:1:11201)↵    at Object.toggleScreenSharing (https://xmpp.ensicaen.fr/libs/app.bundle.min.js?v=1187:1:22668)↵    at EventEmitter.emit (https://xmpp.ensicaen.fr/libs/app.bundle.min.js?v=1187:23:15252)↵    at Object.toolbar_button_desktopsharing (https://xmpp.ensicaen.fr/libs/app.bundle.min.js?v=1187:6:15787)↵    at HTMLAnchorElement.<anonymous> (https://xmpp.ensicaen.fr/libs/app.bundle.min.js?v=1187:6:18386)↵    at HTMLAnchorElement.dispatch (https://xmpp.ensicaen.fr/libs/app.bundle.min.js?v=1187:44:14494)↵    at HTMLAnchorElement.elemData.handle (https://xmpp.ensicaen.fr/libs/app.bundle.min.js?v=1187:44:9136)"__proto__: Errorconstructor: JitsiTrackError(error,options,devices)__proto__: Objectconstructor: Error()message: ""name: "Error"toString: toString()__proto__: Object(anonymous function) @ conference.js:934
My version of Zimbra: 8.6.0 GA 1194
My version of Zimbra Talk: 2.3

Regards,
User avatar
jorgedlcruz
Zimbra Alumni
Zimbra Alumni
Posts: 2782
Joined: Thu May 22, 2014 4:47 pm

Re: Sharing Desktop fails

Post by jorgedlcruz »

Hi flevee,
If you are using the official extension as per the Wiki https://wiki.zimbra.com/wiki/Zimbra_Tal ... _Extension

You should send an email to support@zimbra.com providing you Zimbra Talk fqdn, so we can add it to the whitelist of that app.

You can create your own Chrome app and change the Extension ID, etc.

Best regards
Jorge de la Cruz https://jorgedelacruz.es
Systems Engineer at Veeam Software https://www.veeam.com/
flevee
Posts: 4
Joined: Tue Oct 25, 2016 9:57 am

Re: Sharing Desktop fails

Post by flevee »

I've repackaged the extension and I have the same error. Is the message of error really related to a non "externally_connectable" domain in the manifest.json of the extension ? Because there are people who have had the same message of error: https://github.com/RocketChat/Rocket.Chat/issues/3919. Apparently the last version of the Jitsi server solves the issue.
User avatar
sensor
Posts: 38
Joined: Tue Apr 12, 2016 7:52 am

Re: Sharing Desktop fails

Post by sensor »

Hi flevee,

your domain is not (yet) whitelisted (as externally_connectable) in the official extension - and that is what the error in your console is about.
Your options from this point are:
1. raise a support request to zimbra, so that your domain will be added to the official extension.
2. build your own extension by following the article in zimbra wiki. Note: this means that you have to manually distribute your own extension.

best regards,
Sensor
flevee
Posts: 4
Joined: Tue Oct 25, 2016 9:57 am

Re: Sharing Desktop fails

Post by flevee »

I have upgraded the jitsy suite to the latest nightly build and that solves the issue.
Unfortunately, the icons on the top of the window (Mute/Unmute, Start/Stop Camera...) are now gone, only blank rectangles instead.
User avatar
sensor
Posts: 38
Joined: Tue Apr 12, 2016 7:52 am

Re: Sharing Desktop fails

Post by sensor »

Hi,
flevee wrote:I have upgraded the jitsy suite to the latest nightly build and that solves the issue.


no - that did not solver your issue. What did was the update to the official extension that now includes your domain. That updated was pushed shortly after my last post.
flevee wrote:Unfortunately, the icons on the top of the window (Mute/Unmute, Start/Stop Camera...) are now gone, only blank rectangles instead.
Well - you are on unsuported terrain there...
flevee
Posts: 4
Joined: Tue Oct 25, 2016 9:57 am

Re: Sharing Desktop fails

Post by flevee »

I made a backup before upgrading the jitsy suite. And effectively, with the backup, everything runs smoothly.
Thank you sensor.
Post Reply