How can I force screen sharing with a plugin in firefox

52 Views Asked by At

I don't know where to start looking for solution, so here it is.

I need to hide the firefox popup when my page wants to screenshare and force screensharing of screen 1:

firefox screensharing popup

I saw that i cannot do this in javascript, but I can do it via a plugin.

I have total control on the computers that need to have this feature, so there is no security issue for the user, and I can install the plugin if I want to.

I have played a bit with the "navigator.mediaDevices.getDisplayMedia" function, but I don't know where I can go from there.

If someone can help, that would be amazing.

Thanks in advance.

0

There are 0 best solutions below