Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to pass screen sharing permission to Jitsi iframe inside iframe? #111

Closed
MurzNN opened this issue Aug 20, 2018 · 7 comments
Closed

How to pass screen sharing permission to Jitsi iframe inside iframe? #111

MurzNN opened this issue Aug 20, 2018 · 7 comments

Comments

@MurzNN
Copy link

MurzNN commented Aug 20, 2018

Riot Electron app use Jitsi Meet as third-party component for implement conferencing. And it have problem with giving screen share permissions to Jitsi widget, here is issue about this: https://github.com/vector-im/riot-web/issues/4880#issuecomment-412052311

Can you provide any ways to solve or bypass permission problem in Electron app, when using Jitsi widget in iframe?

@akshitkrnagpal
Copy link
Contributor

Hey @MurzNN
Please take a look at this - https://github.com/jitsi/jitsi-meet-electron-utils

@MurzNN
Copy link
Author

MurzNN commented Aug 21, 2018

From developers of Riot:

that is already fitted but it doesn't work due to it being an iframe inside an iframe and it not getting passed through because of this

Does any other solutions exists?

@MurzNN MurzNN changed the title How to pass screen sharing permission to Jitsi iframe? How to pass screen sharing permission to Jitsi iframe inside iframe? Aug 21, 2018
@saghul
Copy link
Member

saghul commented Aug 21, 2018

@MurzNN I don't know if there is a solution for this. The utils package provides a function which must be available at the global scope for Jitsi Meet to detect and use, then screen sharing will work. If you can make that happen in an iframe within an iframe, I don't really know.

We did not design any of the features in https://github.com/jitsi/jitsi-meet-electron-utils with that scenario in mind, so if you run into problems I'm afraid we won't be of much help.

Wouldn't it be possible for Riot to embed Jitsi Meet without wrapping it in an iframe first? We already create an iframe.

@saghul
Copy link
Member

saghul commented Oct 5, 2018

I'm going to close this since a) it belongs in https://github.com/jitsi/jitsi-meet-electron-utils and (more importantly) b) We cannot do anything about it AFAIK.

@saghul saghul closed this as completed Oct 5, 2018
@saghul
Copy link
Member

saghul commented Oct 5, 2018

This will, however, be solved when Chrome implements getDisplayMedia which is scheduled to happen soon.

@MurzNN
Copy link
Author

MurzNN commented Oct 5, 2018

@saghul thanks for info, this is excellent news! Can you post links to Chrome schedule with this feature?

@saghul
Copy link
Member

saghul commented Oct 5, 2018

@MurzNN it's already available in Chrome 70 beta, behind a flag: https://groups.google.com/forum/#!msg/discuss-webrtc/Uf0SrR4uxzk/uO8sLrWuEAAJ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants