[jitsi-users] Full screen sharing in Firefox


#1

Hi,

we are just evaluating Jitsi-meet (standalone install on our internal
server), so far it looks quite impressive, congratulations.

I was wondering if it would be feasible to add support for sharing full
desktop also in Firefox desktop sharing, as Chrome currently does. I
have done some research, and it seems Firefox is currently not able to
offer list of windows to share including desktop, but full screen
sharing is supported via mediaSource 'screen'. I tried modifying
lib-jitsi-meet.js, changing 'window' to 'screen' in getConstraints()
function and I was able to get it working just fine with FF 46.0.

I suppose that the easiest (although not the nicest) way would be a
separate button in the UI for desktop sharing. Other alternative could
be some selection window after pressing the sharing button.

What do you think?

Best regards

Tomas


#2

I think ideally this would be implemented by the browser (like in chrome), but it seems that currently it isn't[0]. If you only need one or the other in your deployment, the easiest thing would be to export it in config.js (then you can manually override it on a per-participant basis by passing params to the URL, which may help depending on your use case).

Regards,
Boris

[0] https://github.com/muaz-khan/Firefox-Extensions/issues/4

···

On 09/05/16 13:21, Tomas Kopal wrote:

Hi,

we are just evaluating Jitsi-meet (standalone install on our internal
server), so far it looks quite impressive, congratulations.

I was wondering if it would be feasible to add support for sharing full
desktop also in Firefox desktop sharing, as Chrome currently does. I
have done some research, and it seems Firefox is currently not able to
offer list of windows to share including desktop, but full screen
sharing is supported via mediaSource 'screen'. I tried modifying
lib-jitsi-meet.js, changing 'window' to 'screen' in getConstraints()
function and I was able to get it working just fine with FF 46.0.

I suppose that the easiest (although not the nicest) way would be a
separate button in the UI for desktop sharing. Other alternative could
be some selection window after pressing the sharing button.


#3

Yes, implementation in browser would be the best, but I don't think it will happen any time soon, so I am looking for some at least temporary solution.
We will most probably hack it internally, but I was looking for some discussion/feedback, checking if there is any interest in getting this contributed, and if so, what would be the best form...

Regards

Tomas

···

On 09.05.2016 22:02, Boris Grozev wrote:

On 09/05/16 13:21, Tomas Kopal wrote:

Hi,

we are just evaluating Jitsi-meet (standalone install on our internal
server), so far it looks quite impressive, congratulations.

I was wondering if it would be feasible to add support for sharing full
desktop also in Firefox desktop sharing, as Chrome currently does. I
have done some research, and it seems Firefox is currently not able to
offer list of windows to share including desktop, but full screen
sharing is supported via mediaSource 'screen'. I tried modifying
lib-jitsi-meet.js, changing 'window' to 'screen' in getConstraints()
function and I was able to get it working just fine with FF 46.0.

I suppose that the easiest (although not the nicest) way would be a
separate button in the UI for desktop sharing. Other alternative could
be some selection window after pressing the sharing button.

I think ideally this would be implemented by the browser (like in chrome), but it seems that currently it isn't[0]. If you only need one or the other in your deployment, the easiest thing would be to export it in config.js (then you can manually override it on a per-participant basis by passing params to the URL, which may help depending on your use case).


#4

(Resending from subscribed address, sorry).

Hi,

we are just evaluating Jitsi-meet (standalone install on our internal
server), so far it looks quite impressive, congratulations.

I was wondering if it would be feasible to add support for sharing full
desktop also in Firefox desktop sharing, as Chrome currently does. I
have done some research, and it seems Firefox is currently not able to
offer list of windows to share including desktop, but full screen
sharing is supported via mediaSource 'screen'. I tried modifying
lib-jitsi-meet.js, changing 'window' to 'screen' in getConstraints()
function and I was able to get it working just fine with FF 46.0.

I suppose that the easiest (although not the nicest) way would be a
separate button in the UI for desktop sharing. Other alternative could
be some selection window after pressing the sharing button.

I think ideally this would be implemented by the browser (like in
chrome), but it seems that currently it isn't[0]. If you only need one
or the other in your deployment, the easiest thing would be to export
it in config.js (then you can manually override it on a
per-participant basis by passing params to the URL, which may help
depending on your use case).

Yes, implementation in browser would be the best, but I don't think it
will happen any time soon, so I am looking for some at least temporary
solution.
We will most probably hack it internally, but I was looking for some
discussion/feedback, checking if there is any interest in getting this
contributed, and if so, what would be the best form...

Regards

Tomas

···

On 09.05.2016 22:02, Boris Grozev wrote:

On 09/05/16 13:21, Tomas Kopal wrote:


#5

Hi Tomas,

We’re definitely interested in such a solution.

I like your idea of having the user to chose after pressing the “Screen sharing” button. A popup dialog giving 2 options “Share Screen”, “Share Window” sounds great. It would be even better if we have 2 big square icons to choose from in addition to the text.

WDYT?

Thanks,
Yana

···

On 11 May 2016, at 8:02 AM, Tomas Kopal <Tomas.Kopal@altap.cz> wrote:

(Resending from subscribed address, sorry).

On 09.05.2016 22:02, Boris Grozev wrote:

On 09/05/16 13:21, Tomas Kopal wrote:

Hi,

we are just evaluating Jitsi-meet (standalone install on our internal
server), so far it looks quite impressive, congratulations.

I was wondering if it would be feasible to add support for sharing full
desktop also in Firefox desktop sharing, as Chrome currently does. I
have done some research, and it seems Firefox is currently not able to
offer list of windows to share including desktop, but full screen
sharing is supported via mediaSource 'screen'. I tried modifying
lib-jitsi-meet.js, changing 'window' to 'screen' in getConstraints()
function and I was able to get it working just fine with FF 46.0.

I suppose that the easiest (although not the nicest) way would be a
separate button in the UI for desktop sharing. Other alternative could
be some selection window after pressing the sharing button.

I think ideally this would be implemented by the browser (like in
chrome), but it seems that currently it isn't[0]. If you only need one
or the other in your deployment, the easiest thing would be to export
it in config.js (then you can manually override it on a
per-participant basis by passing params to the URL, which may help
depending on your use case).

Yes, implementation in browser would be the best, but I don't think it
will happen any time soon, so I am looking for some at least temporary
solution.
We will most probably hack it internally, but I was looking for some
discussion/feedback, checking if there is any interest in getting this
contributed, and if so, what would be the best form...

Regards

Tomas

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users