luvolondon / fvtt-module-jitsiwebrtc

Jitsi WebRTC client for FVTT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Share Screen Functionality?

mentalic-mutant opened this issue · comments

Is it possible?

I actually recently added this for testing purposes. This isn't a supported feature and I have no plans of adding additional functionality or a UI around it. However, you can activate screen share with a macro or from the dev console by running game.webrtc.client._shareDesktopTracks(); and return to normal camera/video sharing by running game.webrtc.client._initializeLocal(game.webrtc.client.settings.client);.

The original functionality was added in this commit: db9e615

I just tried this but it doesnt seem to work.
Error:
message: "Failed to detect desktop picker"
name: "gum.electron_desktop_picker_not_found"

Ya, works fine in the browser but it does not work in the app.

That makes sense. It seems electron doesn’t have the ability to handle a screen share request.