Code Monkey home page Code Monkey logo

Comments (24)

damencho avatar damencho commented on September 16, 2024

We are aware of this. You can also follow: https://bugs.chromium.org/p/chromium/issues/detail?id=326740#c68
The inline installation will no longer work after the chrome changes, but the extension will still be able to be installed and used. If there are changes needed in jitsi-meet we will make sure everything works as expected.
We expect that after the implementing the changes in the bug mentioned above, there will no longer be needed an extension.

from jidesha.

Ark74 avatar Ark74 commented on September 16, 2024

Great to know! Thanks for the info.
Please close this issue at your convenience.

from jidesha.

thefallman avatar thefallman commented on September 16, 2024

Would you consider to get rid of Chrome screen share extension at all?
The chrome.desktopCapture.* API is getting more and more mature, so waht's the reason supporting 2 APIs which provide the same functionality?

from jidesha.

saghul avatar saghul commented on September 16, 2024

This is already the case. If you use Chrome Canary you should be getting screen sharing without any extension.

from jidesha.

roeycohen avatar roeycohen commented on September 16, 2024

@saghul that's great news! :)

in chrome 71, i've turned on the enable-experimental-web-platform-features flag, and clicked the "Share you screen" button at meet.jit.si, it still requires the extension...

also, currently lib-jitsi-meet project throws an error when trying to share the desktop. is there any documentation available about fixing the extension installation?

from jidesha.

saghul avatar saghul commented on September 16, 2024

I believe this was fixed in 72, which is current stable, can you give that a try?

from jidesha.

roeycohen avatar roeycohen commented on September 16, 2024

i'll try and let you know.

how about the docs? i'm using lib-jitsi-meet directly...

from jidesha.

saghul avatar saghul commented on September 16, 2024

Sorry, I lied :-P 71 does not yet have getDisplayMedia in the right place. Even if you enable experimental web platform features, the extension is needed because we look for navigator.mediaDevices.getDisplayMedia which works only on >= 72.

Let me try a quick fix.

from jidesha.

roeycohen avatar roeycohen commented on September 16, 2024

i've tried on canary 73 and it works really great, even for my project which uses lib-jitsi-meet directly :)
now i just need a workaround for the next month... i'm getting the following error:
2019-01-02 12_45_14-devtools - localhost_lms42_
any ideas? may i should pass callback or something?

from jidesha.

saghul avatar saghul commented on September 16, 2024

@roeycohen Give this patch a try: jitsi/lib-jitsi-meet#851 with it, M71 with xperimental platform features enabled does not require the extension.

from jidesha.

roeycohen avatar roeycohen commented on September 16, 2024

i've made the checked you've requested: the patch worked for me when activated enable-experimental-web-platform-features.

can you please direct me on how to solve the problem with the extension installation?

from jidesha.

roeycohen avatar roeycohen commented on September 16, 2024

ok, i see there's a new parameter called: desktopSharingExtensionExternalInstallation
i'll give it a try :)

from jidesha.

damencho avatar damencho commented on September 16, 2024

@roeycohen When experimental-web-platform-features is disabled the extension installation should be working fine. Have you created an extension for your deployment, upload it to google webstore, verify the site and configure extension id in config.js?

from jidesha.

roeycohen avatar roeycohen commented on September 16, 2024

@damencho the patch @saghul supplied did work with the flag, but my users aren't that sophisticated :)
in order to continue working with the extension, i needed to add the following code:

let tracks = await JitsiMeetJS.createLocalTracks({
	devices: ['desktop'],
	desktopSharingExtensionExternalInstallation: {
		interval: 500,
		checkAgain: () => this.installWindow && !this.installWindow.closed,
		listener: (status, url) =>
		{
			switch (status)
			{
				case 'waitingForExtension':
				{
					if (!this.installWindow || this.installWindow.closed)
						this.installWindow = window.open(url, 'extension_store_window', 'resizable,scrollbars=yes,status=1');
					else
						this.installWindow.focus();
					break;
				}
				case 'extensionFound':
					this.installWindow && this.installWindow.close();
					break;
				default:

				// Unknown status
			}
		}
	}
});

from jidesha.

damencho avatar damencho commented on September 16, 2024

Yep, this is how it is supposed to work, jitsi-meet code seems similar I think:
https://github.com/jitsi/jitsi-meet/blob/b7b43e8d9c582910aa043a522fbe1b19500c2b44/conference.js#L1492

from jidesha.

roeycohen avatar roeycohen commented on September 16, 2024

yes, i've created this code based on the jitsi-meet project code.
I wonder if updating the lib-jitsi-meet docs worth the effort when next month chrome 72 is released...

from jidesha.

pedro-nonfree avatar pedro-nonfree commented on September 16, 2024

What I have to change to recover in my own instance the previous funcionality (before inline installation): Clicking sharing desktop redirects user to the chrome web store, like I see in meet.jit.si

2019-01-23-035638_390x163_scrot

Related error in console:

[modules/RTC/ScreenObtainer.js] <Object.handleExtensionInstallationError>: Failed to install the extension from https://chrome.google.com/webstore/detail/[masked] TypeError: Cannot read property 'install' of undefined

2019-01-23-035825_392x86_scrot

from jidesha.

damencho avatar damencho commented on September 16, 2024

@pedro-nonfree update to latest
jitsi/lib-jitsi-meet@75a556e

from jidesha.

saghul avatar saghul commented on September 16, 2024

@damencho Do you think we can close this now?

from jidesha.

damencho avatar damencho commented on September 16, 2024

Yep. The current inline installation code had been removed and this or next week we will update stable.

from jidesha.

pedro-nonfree avatar pedro-nonfree commented on September 16, 2024

@pedro-nonfree update to latest
jitsi/lib-jitsi-meet@75a556e

@damencho I use debian repos deb http://download.jitsi.org stable/ I understand that in one week I can get the new version through an apt upgrade, right?

from jidesha.

damencho avatar damencho commented on September 16, 2024

approximately, cannot give you an exact estimation. We need to deploy it on meet.jit.si first and then (after 2-3 days) we will push it to stable.

from jidesha.

damencho avatar damencho commented on September 16, 2024

It is available now in stable.

from jidesha.

pedro-nonfree avatar pedro-nonfree commented on September 16, 2024

@damencho thank you so much, I tried it and works as expected!

from jidesha.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.