[jitsi-dev] desktop sharing on jitsi-meet


#1

Hello,

I'm not sure about the desktop sharing functionality.

I would like to know, is it possible to do desktop sharing without an
own build of jidesha and installing this extension?

In case I do need it, what would be the settings?
Currently I've done a build, installed the addon for firefox and edited
my config.js:

    // The ID of the jidesha extension for Firefox. If null, we assume
that no
    // extension is required.
    desktopSharingFirefoxExtId: '0.1.1',

    // Whether desktop sharing should be disabled on Firefox.
    desktopSharingFirefoxDisabled: false,

    // The maximum version of Firefox which requires a jidesha extension.
    // Example: if set to 41, we will require the extension for Firefox
versions
    // up to and including 41. On Firefox 42 and higher, we will run
without the
    // extension.
    // If set to -1, an extension will be required for all versions of
Firefox.
    desktopSharingFirefoxMaxVersionExtRequired: -1,

    // The URL to the Firefox extension for desktop sharing.
    desktopSharingFirefoxExtensionURL:
"https://addons.mozilla.org/firefox/downloads/file/MYID/MYjidesha-0.1.1-fx.xpi?src=devhub",

As it was not installed, jitsi showd a window please install etc. with a
link to it. That was working so far. After installing it and restarting
firefox I just get a "Switch in progress. app.bundle.min.js:32:16111"
in the browser console. Am I missing something?
Thanks


#2

You'll need your own jidesha because the manifest.json contains the domains
the extension should be used for. So unless you're using meet.jit.si, the
default one won't work.

···

On Wed, Nov 30, 2016 at 4:18 AM, Leonid Orsulic <leonid.orsulic@freenet.de> wrote:

Hello,

I'm not sure about the desktop sharing functionality.

I would like to know, is it possible to do desktop sharing without an own
build of jidesha and installing this extension?

In case I do need it, what would be the settings?
Currently I've done a build, installed the addon for firefox and edited my
config.js:

    // The ID of the jidesha extension for Firefox. If null, we assume
that no
    // extension is required.
    desktopSharingFirefoxExtId: '0.1.1',

    // Whether desktop sharing should be disabled on Firefox.
    desktopSharingFirefoxDisabled: false,

    // The maximum version of Firefox which requires a jidesha extension.
    // Example: if set to 41, we will require the extension for Firefox
versions
    // up to and including 41. On Firefox 42 and higher, we will run
without the
    // extension.
    // If set to -1, an extension will be required for all versions of
Firefox.
    desktopSharingFirefoxMaxVersionExtRequired: -1,

    // The URL to the Firefox extension for desktop sharing.
    desktopSharingFirefoxExtensionURL: "https://addons.mozilla.org/
firefox/downloads/file/MYID/MYjidesha-0.1.1-fx.xpi?src=devhub"
<https://addons.mozilla.org/firefox/downloads/file/MYID/MYjidesha-0.1.1-fx.xpi?src=devhub>
,

As it was not installed, jitsi showd a window please install etc. with a
link to it. That was working so far. After installing it and restarting
firefox I just get a "Switch in progress. app.bundle.min.js:32:16111" in
the browser console. Am I missing something?
Thanks

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


#3

So without jidesha it is not possible right? There have to be an
installed extension/ addon to share the screen? Without it would be much
better than having to install an addon.

I tried to build my own jidesha. Downloaded the source code, edited the
make.sh with the id and domains and executed it. Installed the .xpi and
it is not working -> error in the first mail. Any suggestions?

···

Am 30/11/2016 um 19:37 schrieb Brian Baldino:

You'll need your own jidesha because the manifest.json contains the
domains the extension should be used for. So unless you're using
meet.jit.si <http://meet.jit.si>, the default one won't work.

On Wed, Nov 30, 2016 at 4:18 AM, Leonid Orsulic > <leonid.orsulic@freenet.de <mailto:leonid.orsulic@freenet.de>> wrote:

    Hello,

    I'm not sure about the desktop sharing functionality.

    I would like to know, is it possible to do desktop sharing without
    an own build of jidesha and installing this extension?

    In case I do need it, what would be the settings?
    Currently I've done a build, installed the addon for firefox and
    edited my config.js:

        // The ID of the jidesha extension for Firefox. If null, we
    assume that no
        // extension is required.
        desktopSharingFirefoxExtId: '0.1.1',

        // Whether desktop sharing should be disabled on Firefox.
        desktopSharingFirefoxDisabled: false,

        // The maximum version of Firefox which requires a jidesha
    extension.
        // Example: if set to 41, we will require the extension for
    Firefox versions
        // up to and including 41. On Firefox 42 and higher, we will
    run without the
        // extension.
        // If set to -1, an extension will be required for all
    versions of Firefox.
        desktopSharingFirefoxMaxVersionExtRequired: -1,

        // The URL to the Firefox extension for desktop sharing.
        desktopSharingFirefoxExtensionURL:
    "https://addons.mozilla.org/firefox/downloads/file/MYID/MYjidesha-0.1.1-fx.xpi?src=devhub"
    <https://addons.mozilla.org/firefox/downloads/file/MYID/MYjidesha-0.1.1-fx.xpi?src=devhub>,

    As it was not installed, jitsi showd a window please install etc.
    with a link to it. That was working so far. After installing it
    and restarting firefox I just get a "Switch in progress.
    app.bundle.min.js:32:16111" in the browser console. Am I missing
    something?
    Thanks

    _______________________________________________
    dev mailing list
    dev@jitsi.org <mailto:dev@jitsi.org>
    Unsubscribe instructions and other list options:
    http://lists.jitsi.org/mailman/listinfo/dev
    <http://lists.jitsi.org/mailman/listinfo/dev>

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


#4

You're talking about firefox extension? (assuming so based on the reference
to make). Unfortunately I can't be much help there, I've only worked with
the chrome extension. Check the console in your jitsi logs though, it'll
have some detection as to whether or not the extension is installed.
Posting your manifest and config.js might also better enable others to help
you out.

-brian

···

On Wed, Nov 30, 2016 at 11:14 AM, Leonid Orsulic <leonid.orsulic@freenet.de> wrote:

So without jidesha it is not possible right? There have to be an installed
extension/ addon to share the screen? Without it would be much better than
having to install an addon.

I tried to build my own jidesha. Downloaded the source code, edited the
make.sh with the id and domains and executed it. Installed the .xpi and it
is not working -> error in the first mail. Any suggestions?

Am 30/11/2016 um 19:37 schrieb Brian Baldino:

You'll need your own jidesha because the manifest.json contains the
domains the extension should be used for. So unless you're using
meet.jit.si, the default one won't work.

On Wed, Nov 30, 2016 at 4:18 AM, Leonid Orsulic <leonid.orsulic@freenet.de > > wrote:

Hello,

I'm not sure about the desktop sharing functionality.

I would like to know, is it possible to do desktop sharing without an own
build of jidesha and installing this extension?

In case I do need it, what would be the settings?
Currently I've done a build, installed the addon for firefox and edited
my config.js:

    // The ID of the jidesha extension for Firefox. If null, we assume
that no
    // extension is required.
    desktopSharingFirefoxExtId: '0.1.1',

    // Whether desktop sharing should be disabled on Firefox.
    desktopSharingFirefoxDisabled: false,

    // The maximum version of Firefox which requires a jidesha extension.
    // Example: if set to 41, we will require the extension for Firefox
versions
    // up to and including 41. On Firefox 42 and higher, we will run
without the
    // extension.
    // If set to -1, an extension will be required for all versions of
Firefox.
    desktopSharingFirefoxMaxVersionExtRequired: -1,

    // The URL to the Firefox extension for desktop sharing.
    desktopSharingFirefoxExtensionURL: "https://addons.mozilla.org/fi
refox/downloads/file/MYID/MYjidesha-0.1.1-fx.xpi?src=devhub"
<https://addons.mozilla.org/firefox/downloads/file/MYID/MYjidesha-0.1.1-fx.xpi?src=devhub>
,

As it was not installed, jitsi showd a window please install etc. with a
link to it. That was working so far. After installing it and restarting
firefox I just get a "Switch in progress. app.bundle.min.js:32:16111" in
the browser console. Am I missing something?
Thanks

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

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

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


#5

hi brian,

the firefox part of the config.js was already in the first email, here
the firefox and chrome part. Right now I also tried with the chrome
extension. Here I get also a "Permission Denied - Failed to install
desktop sharing extension"

I've created the chrome extension, uploaded to the chrome extension
store (paid 5 $), the extension is "not listed" I've installed this
extension, took the extension ID and paste it into the config.js.

In the manifest, just the domain was entered, all other stuff is
untouched. My webcam is not working after the mac os sierra update, but
I think or I hope that this is not causing a desktop sharing error.
Server log is not showing errors, only the browsers console some info,
warnings and errors.

Does someone see any mistake i made?

*Config.js:*

    // Desktop sharing method. Can be set to 'ext', 'webrtc' or false to
disable.
    desktopSharingChromeMethod: 'webrtc',

    // The ID of the jidesha extension for Chrome.
    desktopSharingChromeExtId: 'MYCHROMEEXTENSIONID',

    // The media sources to use when using screen sharing with the Chrome
    // extension.
    desktopSharingChromeSources: ['screen', 'window'],

    // Required version of Chrome extension
    desktopSharingChromeMinExtVersion: '0.1',

    // The ID of the jidesha extension for Firefox. If null, we assume
that no
    // extension is required.
    desktopSharingFirefoxExtId: '0.1.1',

    // Whether desktop sharing should be disabled on Firefox.
    desktopSharingFirefoxDisabled: false,

    // The maximum version of Firefox which requires a jidesha extension.
    // Example: if set to 41, we will require the extension for Firefox
versions
    // up to and including 41. On Firefox 42 and higher, we will run
without the
    // extension.
    // If set to -1, an extension will be required for all versions of
Firefox.
    desktopSharingFirefoxMaxVersionExtRequired: -1,

    // The URL to the Firefox extension for desktop sharing.
    desktopSharingFirefoxExtensionURL:
"https://addons.mozilla.org/firefox/downloads/file/MYID/MYAPPNAME-jidesha-0.1.1-fx.xpi?src=devhub",

*manifest.json:*

{
  "manifest_version": 2,
  "name": "Jitsi Desktop Streamer",
  "description": "A simple extension that allows you to stream your
desktop into meetings with Jitsi Meet and Jitsi Videobridge.",
  "version": "0.1.6",
  "minimum_chrome_version": "34",
  "icons": {
    "16": "jitsi-logo-16x16.png",
    "48": "jitsi-logo-48x48.png",
    "128": "jitsi-logo-128x128.png"
  },
  "background": {
        "scripts": [ "background.js" ],
        "persistent": true
  },
  "permissions": [
      "desktopCapture"
  ],
  "externally_connectable": {
      "matches": [
          "*://sub.mydomain-example.com/*"
      ]
  }
}

After clicking the desktop sharing button, chrome's console show:

*INFO*: [modules/RTC/RTCUtils.js] <Object.getUserMediaWithConstraints>:
Get media constraints Object {audio: false, video: Object} Logger.js:89

*WARNING*: [modules/RTC/RTCUtils.js] <>: Failed to get access to local
media. Error NavigatorUserMediaError {name: "InvalidStateError",
message: "", constraintName: ""} Object {audio: false, video: Object}r @
Logger.js:89(anonymous function) @ RTCUtils.js:931p @
RTCUtils.js:451(anonymous function) @ RTCUtils.js:478 conference.js:255

*ERROR*: failed to create local tracks ["desktop"] i {gum: Object, name:
"gum.general", message: "Generic getUserMedia error", stack: "Error↵
at new i
(https://jitsi.example-domain.clabs.com/libs/lib-jitsi-meet.min.js?v=139:2:20280"}(anonymous
function) @ conference.js:255 Logger.js:89

*INFO*: [modules/RTC/RTCUtils.js] <Object.getUserMediaWithConstraints>:
Get media constraints Object {audio: false, video: Object}
conference.js:1057

*ER**ROR*: failed to share local desktop i {gum: Object, name:
"gum.general", message: "Generic getUserMedia error", stack: "Error↵
at new i
(https://jitsi.example-domain.clabs.com/libs/lib-jitsi-meet.min.js?v=139:2:20280"}(anonymous
function) @ conference.js:1057 Logger.js:89

*LOG*: [modules/RTC/RTCUtils.js] <>: onUserMediaSuccess Logger.js:89

*WARNING*: [modules/xmpp/ChatRoom.js] <i.addStream>: No conference
handler or conference not started yetr @ Logger.js:89i.addStream @
ChatRoom.js:741(anonymous function) @ JitsiConference.js:454o.addTrack @
JitsiConference.js:453(anonymous function) @ conference.js:929
conference.js:1094

*LOG*: sharing local video

···

Am 30/11/2016 um 22:20 schrieb Brian Baldino:

You're talking about firefox extension? (assuming so based on the
reference to make). Unfortunately I can't be much help there, I've
only worked with the chrome extension. Check the console in your
jitsi logs though, it'll have some detection as to whether or not the
extension is installed. Posting your manifest and config.js might
also better enable others to help you out.

-brian

On Wed, Nov 30, 2016 at 11:14 AM, Leonid Orsulic > <leonid.orsulic@freenet.de <mailto:leonid.orsulic@freenet.de>> wrote:

    So without jidesha it is not possible right? There have to be an
    installed extension/ addon to share the screen? Without it would
    be much better than having to install an addon.

    I tried to build my own jidesha. Downloaded the source code,
    edited the make.sh with the id and domains and executed it.
    Installed the .xpi and it is not working -> error in the first
    mail. Any suggestions?

    Am 30/11/2016 um 19:37 schrieb Brian Baldino:

    You'll need your own jidesha because the manifest.json contains
    the domains the extension should be used for. So unless you're
    using meet.jit.si <http://meet.jit.si>, the default one won't work.

    On Wed, Nov 30, 2016 at 4:18 AM, Leonid Orsulic >> <leonid.orsulic@freenet.de <mailto:leonid.orsulic@freenet.de>> wrote:

        Hello,

        I'm not sure about the desktop sharing functionality.

        I would like to know, is it possible to do desktop sharing
        without an own build of jidesha and installing this extension?

        In case I do need it, what would be the settings?
        Currently I've done a build, installed the addon for firefox
        and edited my config.js:

            // The ID of the jidesha extension for Firefox. If null,
        we assume that no
            // extension is required.
            desktopSharingFirefoxExtId: '0.1.1',

            // Whether desktop sharing should be disabled on Firefox.
            desktopSharingFirefoxDisabled: false,

            // The maximum version of Firefox which requires a
        jidesha extension.
            // Example: if set to 41, we will require the extension
        for Firefox versions
            // up to and including 41. On Firefox 42 and higher, we
        will run without the
            // extension.
            // If set to -1, an extension will be required for all
        versions of Firefox.
            desktopSharingFirefoxMaxVersionExtRequired: -1,

            // The URL to the Firefox extension for desktop sharing.
            desktopSharingFirefoxExtensionURL:
        "https://addons.mozilla.org/firefox/downloads/file/MYID/MYjidesha-0.1.1-fx.xpi?src=devhub"
        <https://addons.mozilla.org/firefox/downloads/file/MYID/MYjidesha-0.1.1-fx.xpi?src=devhub>,

        As it was not installed, jitsi showd a window please install
        etc. with a link to it. That was working so far. After
        installing it and restarting firefox I just get a "Switch in
        progress. app.bundle.min.js:32:16111" in the browser
        console. Am I missing something?
        Thanks

        _______________________________________________
        dev mailing list
        dev@jitsi.org <mailto:dev@jitsi.org>
        Unsubscribe instructions and other list options:
        http://lists.jitsi.org/mailman/listinfo/dev
        <http://lists.jitsi.org/mailman/listinfo/dev>

    _______________________________________________
    dev mailing list
    dev@jitsi.org <mailto:dev@jitsi.org>
    Unsubscribe instructions and other list options:
    http://lists.jitsi.org/mailman/listinfo/dev
    <http://lists.jitsi.org/mailman/listinfo/dev>

    _______________________________________________ dev mailing list
    dev@jitsi.org <mailto:dev@jitsi.org> Unsubscribe instructions and
    other list options: http://lists.jitsi.org/mailman/listinfo/dev
    <http://lists.jitsi.org/mailman/listinfo/dev>

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


#6

This looks suspicious.

Boris

···

On 01/12/2016 06:38, Leonid Orsulic wrote:

hi brian,

the firefox part of the config.js was already in the first email, here
the firefox and chrome part. Right now I also tried with the chrome
extension. Here I get also a "Permission Denied - Failed to install
desktop sharing extension"

I've created the chrome extension, uploaded to the chrome extension
store (paid 5 $), the extension is "not listed" I've installed this
extension, took the extension ID and paste it into the config.js.

In the manifest, just the domain was entered, all other stuff is
untouched. My webcam is not working after the mac os sierra update, but
I think or I hope that this is not causing a desktop sharing error.
Server log is not showing errors, only the browsers console some info,
warnings and errors.

Does someone see any mistake i made?

*Config.js:*

    // Desktop sharing method. Can be set to 'ext', 'webrtc' or false to
disable.
    desktopSharingChromeMethod: 'webrtc',

    // The ID of the jidesha extension for Chrome.
    desktopSharingChromeExtId: 'MYCHROMEEXTENSIONID',

    // The media sources to use when using screen sharing with the Chrome
    // extension.
    desktopSharingChromeSources: ['screen', 'window'],

    // Required version of Chrome extension
    desktopSharingChromeMinExtVersion: '0.1',

    // The ID of the jidesha extension for Firefox. If null, we assume
that no
    // extension is required.
    desktopSharingFirefoxExtId: '0.1.1',


#7

I see this:

    desktopSharingChromeMethod: 'webrtc',
which should be set to "ext" instead, maybe that's it?

···

On Thu, Dec 1, 2016 at 4:38 AM, Leonid Orsulic <leonid.orsulic@freenet.de> wrote:

hi brian,

the firefox part of the config.js was already in the first email, here the
firefox and chrome part. Right now I also tried with the chrome extension.
Here I get also a "Permission Denied - Failed to install desktop sharing
extension"

I've created the chrome extension, uploaded to the chrome extension store
(paid 5 $), the extension is "not listed" I've installed this extension,
took the extension ID and paste it into the config.js.

In the manifest, just the domain was entered, all other stuff is
untouched. My webcam is not working after the mac os sierra update, but I
think or I hope that this is not causing a desktop sharing error. Server
log is not showing errors, only the browsers console some info, warnings
and errors.

Does someone see any mistake i made?

*Config.js:*

    // Desktop sharing method. Can be set to 'ext', 'webrtc' or false to
disable.
    desktopSharingChromeMethod: 'webrtc',

    // The ID of the jidesha extension for Chrome.
    desktopSharingChromeExtId: 'MYCHROMEEXTENSIONID',

    // The media sources to use when using screen sharing with the Chrome
    // extension.
    desktopSharingChromeSources: ['screen', 'window'],

    // Required version of Chrome extension
    desktopSharingChromeMinExtVersion: '0.1',

    // The ID of the jidesha extension for Firefox. If null, we assume
that no
    // extension is required.
    desktopSharingFirefoxExtId: '0.1.1',

    // Whether desktop sharing should be disabled on Firefox.
    desktopSharingFirefoxDisabled: false,

    // The maximum version of Firefox which requires a jidesha extension.
    // Example: if set to 41, we will require the extension for Firefox
versions
    // up to and including 41. On Firefox 42 and higher, we will run
without the
    // extension.
    // If set to -1, an extension will be required for all versions of
Firefox.
    desktopSharingFirefoxMaxVersionExtRequired: -1,

    // The URL to the Firefox extension for desktop sharing.
    desktopSharingFirefoxExtensionURL: "https://addons.mozilla.org/
firefox/downloads/file/MYID/MYAPPNAME-jidesha-0.1.1-fx.xpi?src=devhub"
<https://addons.mozilla.org/firefox/downloads/file/MYID/MYAPPNAME-jidesha-0.1.1-fx.xpi?src=devhub>
,

*manifest.json:*

{
  "manifest_version": 2,
  "name": "Jitsi Desktop Streamer",
  "description": "A simple extension that allows you to stream your
desktop into meetings with Jitsi Meet and Jitsi Videobridge.",
  "version": "0.1.6",
  "minimum_chrome_version": "34",
  "icons": {
    "16": "jitsi-logo-16x16.png",
    "48": "jitsi-logo-48x48.png",
    "128": "jitsi-logo-128x128.png"
  },
  "background": {
        "scripts": [ "background.js" ],
        "persistent": true
  },
  "permissions": [
      "desktopCapture"
  ],
  "externally_connectable": {
      "matches": [
          "*://sub.mydomain-example.com/*"
      ]
  }
}

After clicking the desktop sharing button, chrome's console show:

*INFO*: [modules/RTC/RTCUtils.js] <Object.getUserMediaWithConstraints>:
Get media constraints Object {audio: false, video: Object} Logger.js:89

*WARNING*: [modules/RTC/RTCUtils.js] <>: Failed to get access to local
media. Error NavigatorUserMediaError {name: "InvalidStateError", message:
"", constraintName: ""} Object {audio: false, video: Object}r @
Logger.js:89(anonymous function) @ RTCUtils.js:931p @
RTCUtils.js:451(anonymous function) @ RTCUtils.js:478 conference.js:255

*ERROR*: failed to create local tracks ["desktop"] i {gum: Object, name:
"gum.general", message: "Generic getUserMedia error", stack: "Error↵ at
new i (https://jitsi.example-domain.clabs.com/libs/lib-jitsi-
meet.min.js?v=139:2:20280"}(anonymous function) @ conference.js:255
Logger.js:89

*INFO*: [modules/RTC/RTCUtils.js] <Object.getUserMediaWithConstraints>:
Get media constraints Object {audio: false, video: Object}
conference.js:1057

*ER**ROR*: failed to share local desktop i {gum: Object, name:
"gum.general", message: "Generic getUserMedia error", stack: "Error↵ at
new i (https://jitsi.example-domain.clabs.com/libs/lib-jitsi-
meet.min.js?v=139:2:20280"}(anonymous function) @ conference.js:1057
Logger.js:89

*LOG*: [modules/RTC/RTCUtils.js] <>: onUserMediaSuccess Logger.js:89

*WARNING*: [modules/xmpp/ChatRoom.js] <i.addStream>: No conference
handler or conference not started yetr @ Logger.js:89i.addStream @
ChatRoom.js:741(anonymous function) @ JitsiConference.js:454o.addTrack @
JitsiConference.js:453(anonymous function) @ conference.js:929
conference.js:1094

*LOG*: sharing local video

Am 30/11/2016 um 22:20 schrieb Brian Baldino:

You're talking about firefox extension? (assuming so based on the
reference to make). Unfortunately I can't be much help there, I've only
worked with the chrome extension. Check the console in your jitsi logs
though, it'll have some detection as to whether or not the extension is
installed. Posting your manifest and config.js might also better enable
others to help you out.

-brian

On Wed, Nov 30, 2016 at 11:14 AM, Leonid Orsulic < > leonid.orsulic@freenet.de> wrote:

So without jidesha it is not possible right? There have to be an
installed extension/ addon to share the screen? Without it would be much
better than having to install an addon.

I tried to build my own jidesha. Downloaded the source code, edited the
make.sh with the id and domains and executed it. Installed the .xpi and it
is not working -> error in the first mail. Any suggestions?

Am 30/11/2016 um 19:37 schrieb Brian Baldino:

You'll need your own jidesha because the manifest.json contains the
domains the extension should be used for. So unless you're using
meet.jit.si, the default one won't work.

On Wed, Nov 30, 2016 at 4:18 AM, Leonid Orsulic < >> leonid.orsulic@freenet.de> wrote:

Hello,

I'm not sure about the desktop sharing functionality.

I would like to know, is it possible to do desktop sharing without an
own build of jidesha and installing this extension?

In case I do need it, what would be the settings?
Currently I've done a build, installed the addon for firefox and edited
my config.js:

    // The ID of the jidesha extension for Firefox. If null, we assume
that no
    // extension is required.
    desktopSharingFirefoxExtId: '0.1.1',

    // Whether desktop sharing should be disabled on Firefox.
    desktopSharingFirefoxDisabled: false,

    // The maximum version of Firefox which requires a jidesha extension.
    // Example: if set to 41, we will require the extension for Firefox
versions
    // up to and including 41. On Firefox 42 and higher, we will run
without the
    // extension.
    // If set to -1, an extension will be required for all versions of
Firefox.
    desktopSharingFirefoxMaxVersionExtRequired: -1,

    // The URL to the Firefox extension for desktop sharing.
    desktopSharingFirefoxExtensionURL: "https://addons.mozilla.org/fi
refox/downloads/file/MYID/MYjidesha-0.1.1-fx.xpi?src=devhub"
<https://addons.mozilla.org/firefox/downloads/file/MYID/MYjidesha-0.1.1-fx.xpi?src=devhub>
,

As it was not installed, jitsi showd a window please install etc. with a
link to it. That was working so far. After installing it and restarting
firefox I just get a "Switch in progress. app.bundle.min.js:32:16111" in
the browser console. Am I missing something?
Thanks

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

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

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

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

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


#8

may the desktopSharingChromeMinExtVersion be the problem? wich version
number you tagged the extension?

···

2016-12-01 13:38 GMT+01:00 Leonid Orsulic <leonid.orsulic@freenet.de>:

hi brian,

the firefox part of the config.js was already in the first email, here the
firefox and chrome part. Right now I also tried with the chrome extension.
Here I get also a "Permission Denied - Failed to install desktop sharing
extension"

I've created the chrome extension, uploaded to the chrome extension store
(paid 5 $), the extension is "not listed" I've installed this extension,
took the extension ID and paste it into the config.js.

In the manifest, just the domain was entered, all other stuff is
untouched. My webcam is not working after the mac os sierra update, but I
think or I hope that this is not causing a desktop sharing error. Server
log is not showing errors, only the browsers console some info, warnings
and errors.

Does someone see any mistake i made?

*Config.js:*

    // Desktop sharing method. Can be set to 'ext', 'webrtc' or false to
disable.
    desktopSharingChromeMethod: 'webrtc',

    // The ID of the jidesha extension for Chrome.
    desktopSharingChromeExtId: 'MYCHROMEEXTENSIONID',

    // The media sources to use when using screen sharing with the Chrome
    // extension.
    desktopSharingChromeSources: ['screen', 'window'],

    // Required version of Chrome extension
    desktopSharingChromeMinExtVersion: '0.1',

    // The ID of the jidesha extension for Firefox. If null, we assume
that no
    // extension is required.
    desktopSharingFirefoxExtId: '0.1.1',

    // Whether desktop sharing should be disabled on Firefox.
    desktopSharingFirefoxDisabled: false,

    // The maximum version of Firefox which requires a jidesha extension.
    // Example: if set to 41, we will require the extension for Firefox
versions
    // up to and including 41. On Firefox 42 and higher, we will run
without the
    // extension.
    // If set to -1, an extension will be required for all versions of
Firefox.
    desktopSharingFirefoxMaxVersionExtRequired: -1,

    // The URL to the Firefox extension for desktop sharing.
    desktopSharingFirefoxExtensionURL: "https://addons.mozilla.org/
firefox/downloads/file/MYID/MYAPPNAME-jidesha-0.1.1-fx.xpi?src=devhub"
<https://addons.mozilla.org/firefox/downloads/file/MYID/MYAPPNAME-jidesha-0.1.1-fx.xpi?src=devhub>
,

*manifest.json:*

{
  "manifest_version": 2,
  "name": "Jitsi Desktop Streamer",
  "description": "A simple extension that allows you to stream your
desktop into meetings with Jitsi Meet and Jitsi Videobridge.",
  "version": "0.1.6",
  "minimum_chrome_version": "34",
  "icons": {
    "16": "jitsi-logo-16x16.png",
    "48": "jitsi-logo-48x48.png",
    "128": "jitsi-logo-128x128.png"
  },
  "background": {
        "scripts": [ "background.js" ],
        "persistent": true
  },
  "permissions": [
      "desktopCapture"
  ],
  "externally_connectable": {
      "matches": [
          "*://sub.mydomain-example.com/*"
      ]
  }
}

After clicking the desktop sharing button, chrome's console show:

*INFO*: [modules/RTC/RTCUtils.js] <Object.getUserMediaWithConstraints>:
Get media constraints Object {audio: false, video: Object} Logger.js:89

*WARNING*: [modules/RTC/RTCUtils.js] <>: Failed to get access to local
media. Error NavigatorUserMediaError {name: "InvalidStateError", message:
"", constraintName: ""} Object {audio: false, video: Object}r @
Logger.js:89(anonymous function) @ RTCUtils.js:931p @
RTCUtils.js:451(anonymous function) @ RTCUtils.js:478 conference.js:255

*ERROR*: failed to create local tracks ["desktop"] i {gum: Object, name:
"gum.general", message: "Generic getUserMedia error", stack: "Error↵ at
new i (https://jitsi.example-domain.clabs.com/libs/lib-jitsi-
meet.min.js?v=139:2:20280"}(anonymous function) @ conference.js:255
Logger.js:89

*INFO*: [modules/RTC/RTCUtils.js] <Object.getUserMediaWithConstraints>:
Get media constraints Object {audio: false, video: Object}
conference.js:1057

*ER**ROR*: failed to share local desktop i {gum: Object, name:
"gum.general", message: "Generic getUserMedia error", stack: "Error↵ at
new i (https://jitsi.example-domain.clabs.com/libs/lib-jitsi-
meet.min.js?v=139:2:20280"}(anonymous function) @ conference.js:1057
Logger.js:89

*LOG*: [modules/RTC/RTCUtils.js] <>: onUserMediaSuccess Logger.js:89

*WARNING*: [modules/xmpp/ChatRoom.js] <i.addStream>: No conference
handler or conference not started yetr @ Logger.js:89i.addStream @
ChatRoom.js:741(anonymous function) @ JitsiConference.js:454o.addTrack @
JitsiConference.js:453(anonymous function) @ conference.js:929
conference.js:1094

*LOG*: sharing local video

Am 30/11/2016 um 22:20 schrieb Brian Baldino:

You're talking about firefox extension? (assuming so based on the
reference to make). Unfortunately I can't be much help there, I've only
worked with the chrome extension. Check the console in your jitsi logs
though, it'll have some detection as to whether or not the extension is
installed. Posting your manifest and config.js might also better enable
others to help you out.

-brian

On Wed, Nov 30, 2016 at 11:14 AM, Leonid Orsulic < > leonid.orsulic@freenet.de> wrote:

So without jidesha it is not possible right? There have to be an
installed extension/ addon to share the screen? Without it would be much
better than having to install an addon.

I tried to build my own jidesha. Downloaded the source code, edited the
make.sh with the id and domains and executed it. Installed the .xpi and it
is not working -> error in the first mail. Any suggestions?

Am 30/11/2016 um 19:37 schrieb Brian Baldino:

You'll need your own jidesha because the manifest.json contains the
domains the extension should be used for. So unless you're using
meet.jit.si, the default one won't work.

On Wed, Nov 30, 2016 at 4:18 AM, Leonid Orsulic < >> leonid.orsulic@freenet.de> wrote:

Hello,

I'm not sure about the desktop sharing functionality.

I would like to know, is it possible to do desktop sharing without an
own build of jidesha and installing this extension?

In case I do need it, what would be the settings?
Currently I've done a build, installed the addon for firefox and edited
my config.js:

    // The ID of the jidesha extension for Firefox. If null, we assume
that no
    // extension is required.
    desktopSharingFirefoxExtId: '0.1.1',

    // Whether desktop sharing should be disabled on Firefox.
    desktopSharingFirefoxDisabled: false,

    // The maximum version of Firefox which requires a jidesha extension.
    // Example: if set to 41, we will require the extension for Firefox
versions
    // up to and including 41. On Firefox 42 and higher, we will run
without the
    // extension.
    // If set to -1, an extension will be required for all versions of
Firefox.
    desktopSharingFirefoxMaxVersionExtRequired: -1,

    // The URL to the Firefox extension for desktop sharing.
    desktopSharingFirefoxExtensionURL: "https://addons.mozilla.org/fi
refox/downloads/file/MYID/MYjidesha-0.1.1-fx.xpi?src=devhub"
<https://addons.mozilla.org/firefox/downloads/file/MYID/MYjidesha-0.1.1-fx.xpi?src=devhub>
,

As it was not installed, jitsi showd a window please install etc. with a
link to it. That was working so far. After installing it and restarting
firefox I just get a "Switch in progress. app.bundle.min.js:32:16111" in
the browser console. Am I missing something?
Thanks

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

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

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

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

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


#9

ouhhh, in germany we would say, sometimes you do not see the forest
because of the trees. Shame on me, as simple as that. Okay, chrome is
working, thanks brian. There is still the warning:
"[modules/xmpp/ChatRoom.js] <i.addStream>: No conference handler or
conference not started yet". Everything seems to work, the chat, now the
desktop sharing, setting my display name etc.
Should I worry about that warning?

Okay but the firefox desktop sharing is still not working. I changed the:

"desktopSharingFirefoxExtId": 'jitsi-jidesha@example-domain.com',

so to the same as in the make.sh inside the jidesha's firefox folder ->
EXT_ID="jitsi-jidesha@example-domain.com"

Firefox console says:

*ERROR: *[modules/RTC/RTCUtils.js] <y/<>: failed to obtain desktop
stream - stop Object { name: "gum.firefox_extension_needed", message:
"Firefox extension is not installed", stack:
"i@https://jitsi.example-domain.com/…" } lib-jitsi-meet.min.js:21:4143

*ERROR: *failed to create local tracks Array [ "desktop" ] Object {
name: "gum.firefox_extension_needed", message: "Firefox extension is not
installed", stack: "i@https://jitsi.example-domain.com/…" }
app.bundle.min.js:32:5477

*INFO: *[modules/RTC/RTCUtils.js] <Q.getUserMediaWithConstraints>: Get
media constraints Object { audio: false, video: Object }
lib-jitsi-meet.min.js:21:4143

*ERROR: *failed to share local desktop Object { name:
"gum.firefox_extension_needed", message: "Firefox extension is not
installed", stack: "i@https://jitsi.example-domain.com/…" }

And inside the browser window the message: "You need to install a
firefox extension in order to use screen sharing. Please try again after
you get it from here!" So the link is working fine, it redirects me to
my jidesha extension, I've intalled it and verified that it is
installed. It is shown in the "about:addons" and is active.

···

Am 01/12/2016 um 19:16 schrieb Brian Baldino:

I see this:

    desktopSharingChromeMethod: 'webrtc',

which should be set to "ext" instead, maybe that's it?

On Thu, Dec 1, 2016 at 4:38 AM, Leonid Orsulic > <leonid.orsulic@freenet.de <mailto:leonid.orsulic@freenet.de>> wrote:

    hi brian,

    the firefox part of the config.js was already in the first email,
    here the firefox and chrome part. Right now I also tried with the
    chrome extension. Here I get also a "Permission Denied - Failed to
    install desktop sharing extension"

    I've created the chrome extension, uploaded to the chrome
    extension store (paid 5 $), the extension is "not listed" I've
    installed this extension, took the extension ID and paste it into
    the config.js.

    In the manifest, just the domain was entered, all other stuff is
    untouched. My webcam is not working after the mac os sierra
    update, but I think or I hope that this is not causing a desktop
    sharing error. Server log is not showing errors, only the browsers
    console some info, warnings and errors.

    Does someone see any mistake i made?

    *Config.js:*

        // Desktop sharing method. Can be set to 'ext', 'webrtc' or
    false to disable.
        desktopSharingChromeMethod: 'webrtc',

        // The ID of the jidesha extension for Chrome.
        desktopSharingChromeExtId: 'MYCHROMEEXTENSIONID',

        // The media sources to use when using screen sharing with the
    Chrome
        // extension.
        desktopSharingChromeSources: ['screen', 'window'],

        // Required version of Chrome extension
        desktopSharingChromeMinExtVersion: '0.1',

        // The ID of the jidesha extension for Firefox. If null, we
    assume that no
        // extension is required.
        desktopSharingFirefoxExtId: '0.1.1',

        // Whether desktop sharing should be disabled on Firefox.
        desktopSharingFirefoxDisabled: false,

        // The maximum version of Firefox which requires a jidesha
    extension.
        // Example: if set to 41, we will require the extension for
    Firefox versions
        // up to and including 41. On Firefox 42 and higher, we will
    run without the
        // extension.
        // If set to -1, an extension will be required for all
    versions of Firefox.
        desktopSharingFirefoxMaxVersionExtRequired: -1,

        // The URL to the Firefox extension for desktop sharing.
        desktopSharingFirefoxExtensionURL:
    "https://addons.mozilla.org/firefox/downloads/file/MYID/MYAPPNAME-jidesha-0.1.1-fx.xpi?src=devhub"
    <https://addons.mozilla.org/firefox/downloads/file/MYID/MYAPPNAME-jidesha-0.1.1-fx.xpi?src=devhub>,

    *manifest.json:*

    {
      "manifest_version": 2,
      "name": "Jitsi Desktop Streamer",
      "description": "A simple extension that allows you to stream
    your desktop into meetings with Jitsi Meet and Jitsi Videobridge.",
      "version": "0.1.6",
      "minimum_chrome_version": "34",
      "icons": {
        "16": "jitsi-logo-16x16.png",
        "48": "jitsi-logo-48x48.png",
        "128": "jitsi-logo-128x128.png"
      },
      "background": {
            "scripts": [ "background.js" ],
            "persistent": true
      },
      "permissions": [
          "desktopCapture"
      ],
      "externally_connectable": {
          "matches": [
              "*://sub.mydomain-example.com/*
    <http://sub.mydomain-example.com/*>"
          ]
      }
    }

    After clicking the desktop sharing button, chrome's console show:

    *INFO*: [modules/RTC/RTCUtils.js]
    <Object.getUserMediaWithConstraints>: Get media constraints
    Object {audio: false, video: Object} Logger.js:89

    *WARNING*: [modules/RTC/RTCUtils.js] <>: Failed to get access to
    local media. Error NavigatorUserMediaError {name:
    "InvalidStateError", message: "", constraintName: ""} Object
    {audio: false, video: Object}r @ Logger.js:89(anonymous function)
    @ RTCUtils.js:931p @ RTCUtils.js:451(anonymous function) @
    RTCUtils.js:478 conference.js:255

    *ERROR*: failed to create local tracks ["desktop"] i {gum: Object,
    name: "gum.general", message: "Generic getUserMedia error", stack:
    "Error↵ at new i
    (https://jitsi.example-domain.clabs.com/libs/lib-jitsi-meet.min.js?v=139:2:20280
    <https://jitsi.example-domain.c%E2%80%A6labs.com/libs/lib-jitsi-meet.min.js?v=139:2:20280>"}(anonymous
    function) @ conference.js:255 Logger.js:89

    *INFO*: [modules/RTC/RTCUtils.js]
    <Object.getUserMediaWithConstraints>: Get media constraints
    Object {audio: false, video: Object}
    conference.js:1057

    *ER**ROR*: failed to share local desktop i {gum: Object, name:
    "gum.general", message: "Generic getUserMedia error", stack:
    "Error↵ at new i
    (https://jitsi.example-domain.clabs.com/libs/lib-jitsi-meet.min.js?v=139:2:20280
    <https://jitsi.example-domain.c%E2%80%A6labs.com/libs/lib-jitsi-meet.min.js?v=139:2:20280>"}(anonymous
    function) @ conference.js:1057 Logger.js:89

    *LOG*: [modules/RTC/RTCUtils.js] <>: onUserMediaSuccess Logger.js:89

    *WARNING*: [modules/xmpp/ChatRoom.js] <i.addStream>: No
    conference handler or conference not started yetr @
    Logger.js:89i.addStream @ ChatRoom.js:741(anonymous function) @
    JitsiConference.js:454o.addTrack @
    JitsiConference.js:453(anonymous function) @ conference.js:929
    conference.js:1094

    *LOG*: sharing local video

    Am 30/11/2016 um 22:20 schrieb Brian Baldino:

    You're talking about firefox extension? (assuming so based on the
    reference to make). Unfortunately I can't be much help there,
    I've only worked with the chrome extension. Check the console in
    your jitsi logs though, it'll have some detection as to whether
    or not the extension is installed. Posting your manifest and
    config.js might also better enable others to help you out.

    -brian

    On Wed, Nov 30, 2016 at 11:14 AM, Leonid Orsulic >> <leonid.orsulic@freenet.de <mailto:leonid.orsulic@freenet.de>> wrote:

        So without jidesha it is not possible right? There have to be
        an installed extension/ addon to share the screen? Without it
        would be much better than having to install an addon.

        I tried to build my own jidesha. Downloaded the source code,
        edited the make.sh with the id and domains and executed it.
        Installed the .xpi and it is not working -> error in the
        first mail. Any suggestions?

        Am 30/11/2016 um 19:37 schrieb Brian Baldino:

        You'll need your own jidesha because the manifest.json
        contains the domains the extension should be used for. So
        unless you're using meet.jit.si <http://meet.jit.si>, the
        default one won't work.

        On Wed, Nov 30, 2016 at 4:18 AM, Leonid Orsulic >>> <leonid.orsulic@freenet.de >>> <mailto:leonid.orsulic@freenet.de>> wrote:

            Hello,

            I'm not sure about the desktop sharing functionality.

            I would like to know, is it possible to do desktop
            sharing without an own build of jidesha and installing
            this extension?

            In case I do need it, what would be the settings?
            Currently I've done a build, installed the addon for
            firefox and edited my config.js:

                // The ID of the jidesha extension for Firefox. If
            null, we assume that no
                // extension is required.
                desktopSharingFirefoxExtId: '0.1.1',

                // Whether desktop sharing should be disabled on
            Firefox.
                desktopSharingFirefoxDisabled: false,

                // The maximum version of Firefox which requires a
            jidesha extension.
                // Example: if set to 41, we will require the
            extension for Firefox versions
                // up to and including 41. On Firefox 42 and higher,
            we will run without the
                // extension.
                // If set to -1, an extension will be required for
            all versions of Firefox.
                desktopSharingFirefoxMaxVersionExtRequired: -1,

                // The URL to the Firefox extension for desktop sharing.
                desktopSharingFirefoxExtensionURL:
            "https://addons.mozilla.org/firefox/downloads/file/MYID/MYjidesha-0.1.1-fx.xpi?src=devhub"
            <https://addons.mozilla.org/firefox/downloads/file/MYID/MYjidesha-0.1.1-fx.xpi?src=devhub>,

            As it was not installed, jitsi showd a window please
            install etc. with a link to it. That was working so far.
            After installing it and restarting firefox I just get a
            "Switch in progress. app.bundle.min.js:32:16111" in the
            browser console. Am I missing something?
            Thanks

            _______________________________________________
            dev mailing list
            dev@jitsi.org <mailto:dev@jitsi.org>
            Unsubscribe instructions and other list options:
            http://lists.jitsi.org/mailman/listinfo/dev
            <http://lists.jitsi.org/mailman/listinfo/dev>

        _______________________________________________
        dev mailing list
        dev@jitsi.org <mailto:dev@jitsi.org>
        Unsubscribe instructions and other list options:
        http://lists.jitsi.org/mailman/listinfo/dev
        <http://lists.jitsi.org/mailman/listinfo/dev>

        _______________________________________________ dev mailing
        list dev@jitsi.org <mailto:dev@jitsi.org> Unsubscribe
        instructions and other list options:
        http://lists.jitsi.org/mailman/listinfo/dev
        <http://lists.jitsi.org/mailman/listinfo/dev>

    _______________________________________________
    dev mailing list
    dev@jitsi.org <mailto:dev@jitsi.org>
    Unsubscribe instructions and other list options:
    http://lists.jitsi.org/mailman/listinfo/dev
    <http://lists.jitsi.org/mailman/listinfo/dev>

    _______________________________________________ dev mailing list
    dev@jitsi.org <mailto:dev@jitsi.org> Unsubscribe instructions and
    other list options: http://lists.jitsi.org/mailman/listinfo/dev
    <http://lists.jitsi.org/mailman/listinfo/dev>

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


#10

ouhhh, in germany we would say, sometimes you do not see the forest
because of the trees. Shame on me, as simple as that. Okay, chrome is
working, thanks brian. There is still the warning:
"[modules/xmpp/ChatRoom.js] <i.addStream>: No conference handler or
conference not started yet". Everything seems to work, the chat, now the
desktop sharing, setting my display name etc.
Should I worry about that warning?

Okay but the firefox desktop sharing is still not working. I changed the:

"desktopSharingFirefoxExtId": 'jitsi-jidesha@example-domain.com',

so to the same as in the make.sh inside the jidesha's firefox folder ->
EXT_ID="jitsi-jidesha@example-domain.com"

Firefox console says:

*ERROR: *[modules/RTC/RTCUtils.js] <y/<>: failed to obtain desktop
stream - stop Object { name: "gum.firefox_extension_needed", message:
"Firefox extension is not installed", stack:
"i@https://jitsi.example-domain.com/…" } lib-jitsi-meet.min.js:21:4143

*ERROR: *failed to create local tracks Array [ "desktop" ] Object {
name: "gum.firefox_extension_needed", message: "Firefox extension is not
installed", stack: "i@https://jitsi.example-domain.com/…" }
app.bundle.min.js:32:5477

*INFO: *[modules/RTC/RTCUtils.js] <Q.getUserMediaWithConstraints>: Get
media constraints Object { audio: false, video: Object }
lib-jitsi-meet.min.js:21:4143

*ERROR: *failed to share local desktop Object { name:
"gum.firefox_extension_needed", message: "Firefox extension is not
installed", stack: "i@https://jitsi.example-domain.com/…" }

I suspect that the detection of the extension failed (you can confirm by looking for "firefox screen sharing" in the console early on, right after the page loads).

This is most likely because the domain from which the page is loaded doesn't match the domains defined by the jidesha extension.

Given this EXT_ID:
> "desktopSharingFirefoxExtId": 'jitsi-jidesha@example-domain.com',

the extension will make accessible and empty png at the following URL:
chrome://jitsi-jidesha.example-domain.com/content/DOMAIN.png

Where DOMAIN is one of the domains defined in make.sh.

The code which checks for the availability of the extension uses the domain name from window.location.hostname.

You can:
1. Check what the domain seen by jitsi-meet is: load jitsi-meet and type "window.location.hostname" in the console
2. Verify that this domain is one of the domains defined in make.sh
3. Verify that the png is accessible at the above URL with this specific domain.

Getting screen sharing to work with an extension, but also only ask for an extension when one is needed is a tricky problem, and we couldn't find a way to solve it while maintaining the initial configuration simple. Hopefully the above helps you solve your issue.

Regards,
Boris

···

On 01/12/2016 15:28, Leonid Orsulic wrote:


#11

Hi Boris,

So the domain given by "window.location.hostname" was different. I just
had the domain without the subdomain in the make.sh, now I've corrected
that, build a new addon and installed it.
Right after the "connection.passwordRequired" I have the:
"*[modules/RTC/ScreenObtainer.js] <f/t.onload>: Detected firefox screen
sharing extension.*".
The extension is installed and it looks like it is detectable by jitsi,
but only a this point, later I get a "jidesha extension required error".

Testing in Firefox with the url:
"chrome://jitsi-jidesha.example-domain.com/content/jitsi.example-domain.com.png"
seems successful, as i get a blank website with just an image in its
body with the class="transparent".

So the png is accessible, I guess.

Now clicking on the desktop sharing button gives me still a: "Permission
Denied - Failes to install desktop sharing extension" and the already
mentioned errors in the browser console.

I also get a:
"*[modules/RTC/ScreenObtainer.js] <A.obtainScreenOnFirefox>: Jidesha
extension required on firefox version 50*".

*ERROR: *[modules/RTC/RTCUtils.js] <y/<>: failed to obtain video stream
- stop Object { gum: Object, name: "gum.not_found", message: "Requested
device(s) was/were not fo…", stack: "i@https://jitsi.example-domain.com/…" }
*ERROR:* failed to create local tracks Array [ "audio", "video" ] Object
{ gum: Object, name: "gum.not_found", message: "Requested device(s)
was/were not fo…", stack: "i@https://jitsi.example-domain.com/…" }

*ERROR: *failed to share local desktop Object { gum: Object, name:
"gum.general", message: "The request is not allowed by the u…", stack:
"i@https://jitsi.example-domain.com/…" }
*WARNING: *[modules/RTC/RTCUtils.js] <Q.getUserMediaWithConstraints/<>:
Failed to get access to local media. Error MediaStreamError { name:
"NotFoundError", message: "The object can not be found here.",
constraint: "", stack: "" } Object { audio: false, video: Object }
*ERROR*: [modules/RTC/RTCUtils.js] <y/<>: failed to obtain video stream
- stop Object { gum: Object, name: "gum.not_found", message: "Requested
device(s) was/were not fo…", stack:
"i@https://jitsi.example-domain.com/…" } lib-jitsi-meet.min.js:21:4143
*ERROR: *failed to create local tracks Array [ "video" ] Object { gum:
Object, name: "gum.not_found", message: "Requested device(s) was/were
not fo…", stack: "i@https://jitsi.example-domain.com/…" }
app.bundle.min.js:32:5477
*ERROR:* failed to share local video Object { gum: Object, name:
"gum.not_found", message: "Requested device(s) was/were not fo…", stack:
"i@https://jitsi.example-domain.com/…" }

So at the beginning the screen sharing extension is found, but when
clicking on the button, in the console it says explicitly jidesha
extension is required. That's strange

···

Am 01/12/2016 um 23:01 schrieb Boris Grozev:

On 01/12/2016 15:28, Leonid Orsulic wrote:

ouhhh, in germany we would say, sometimes you do not see the forest
because of the trees. Shame on me, as simple as that. Okay, chrome is
working, thanks brian. There is still the warning:
"[modules/xmpp/ChatRoom.js] <i.addStream>: No conference handler or
conference not started yet". Everything seems to work, the chat, now the
desktop sharing, setting my display name etc.
Should I worry about that warning?

Okay but the firefox desktop sharing is still not working. I changed
the:

"desktopSharingFirefoxExtId": 'jitsi-jidesha@example-domain.com',

so to the same as in the make.sh inside the jidesha's firefox folder ->
EXT_ID="jitsi-jidesha@example-domain.com"

Firefox console says:

*ERROR: *[modules/RTC/RTCUtils.js] <y/<>: failed to obtain desktop
stream - stop Object { name: "gum.firefox_extension_needed", message:
"Firefox extension is not installed", stack:
"i@https://jitsi.example-domain.com/…" } lib-jitsi-meet.min.js:21:4143

*ERROR: *failed to create local tracks Array [ "desktop" ] Object {
name: "gum.firefox_extension_needed", message: "Firefox extension is not
installed", stack: "i@https://jitsi.example-domain.com/…" }
app.bundle.min.js:32:5477

*INFO: *[modules/RTC/RTCUtils.js] <Q.getUserMediaWithConstraints>: Get
media constraints Object { audio: false, video: Object }
lib-jitsi-meet.min.js:21:4143

*ERROR: *failed to share local desktop Object { name:
"gum.firefox_extension_needed", message: "Firefox extension is not
installed", stack: "i@https://jitsi.example-domain.com/…" }

I suspect that the detection of the extension failed (you can confirm
by looking for "firefox screen sharing" in the console early on, right
after the page loads).

This is most likely because the domain from which the page is loaded
doesn't match the domains defined by the jidesha extension.

Given this EXT_ID:
> "desktopSharingFirefoxExtId": 'jitsi-jidesha@example-domain.com',

the extension will make accessible and empty png at the following URL:
chrome://jitsi-jidesha.example-domain.com/content/DOMAIN.png

Where DOMAIN is one of the domains defined in make.sh.

The code which checks for the availability of the extension uses the
domain name from window.location.hostname.

You can:
1. Check what the domain seen by jitsi-meet is: load jitsi-meet and
type "window.location.hostname" in the console
2. Verify that this domain is one of the domains defined in make.sh
3. Verify that the png is accessible at the above URL with this
specific domain.

Getting screen sharing to work with an extension, but also only ask
for an extension when one is needed is a tricky problem, and we
couldn't find a way to solve it while maintaining the initial
configuration simple. Hopefully the above helps you solve your issue.

Regards,
Boris

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


#12

Hi,

···

On 05/12/2016 05:27, Leonid Orsulic wrote:

Hi Boris,

So the domain given by "window.location.hostname" was different. I just
had the domain without the subdomain in the make.sh, now I've corrected
that, build a new addon and installed it.
Right after the "connection.passwordRequired" I have the:
"*[modules/RTC/ScreenObtainer.js] <f/t.onload>: Detected firefox screen
sharing extension.*".
The extension is installed and it looks like it is detectable by jitsi,
but only a this point, later I get a "jidesha extension required error".

Testing in Firefox with the url:
"chrome://jitsi-jidesha.example-domain.com/content/jitsi.example-domain.com.png"
seems successful, as i get a blank website with just an image in its
body with the class="transparent".

So the png is accessible, I guess.

Now clicking on the desktop sharing button gives me still a: "Permission
Denied - Failes to install desktop sharing extension" and the already
mentioned errors in the browser console.

This doesn't seem right. Would you mind sharing the URL with me (privately is fine), so that I can try and debug?

Boris


#13

Hi Boris,

currently it is only possible to login using ldap credentials, I will
have to deactivate that as the second user also needs to login because
of the anonymousdomain issue
(https://github.com/jitsi/jitsi-meet/issues/1053)

what is your email address?

···

Am 06/12/2016 um 03:15 schrieb Boris Grozev:

Hi,

On 05/12/2016 05:27, Leonid Orsulic wrote:

Hi Boris,

So the domain given by "window.location.hostname" was different. I just
had the domain without the subdomain in the make.sh, now I've corrected
that, build a new addon and installed it.
Right after the "connection.passwordRequired" I have the:
"*[modules/RTC/ScreenObtainer.js] <f/t.onload>: Detected firefox screen
sharing extension.*".
The extension is installed and it looks like it is detectable by jitsi,
but only a this point, later I get a "jidesha extension required error".

Testing in Firefox with the url:
"chrome://jitsi-jidesha.example-domain.com/content/jitsi.example-domain.com.png"

seems successful, as i get a blank website with just an image in its
body with the class="transparent".

So the png is accessible, I guess.

Now clicking on the desktop sharing button gives me still a: "Permission
Denied - Failes to install desktop sharing extension" and the already
mentioned errors in the browser console.

This doesn't seem right. Would you mind sharing the URL with me
(privately is fine), so that I can try and debug?

Boris

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