[jitsi-dev] [jitsi-meet] Installed Chrome extension but i get the "Failed to install desktop extension" message


#1

This is what appears in the JS console when i click on the Share Desktop
Button:

[/modules/RTC/DataChannels.js] <RTCDataChannel.dataChannel.onmessage>:
Data channel new dominant speaker event: 0b92b9b0
failed to create local tracks desktop gum.general
[/modules/RTC/RTCUtils.js] <Object.RTCUtils.getUserMediaWithConstraints>:
Get media constraints Object {audio: false, video: Object}
failed to share local desktop gum.general
[/modules/RTC/RTCUtils.js] <>: onUserMediaSuccess
Halt: There are no SSRC groups in the remote description.
[/modules/xmpp/JingleSessionPC.js] <>: modify sources done
[/modules/xmpp/JingleSessionPC.js] <>: SDPs SDP {removeTcpCandidates:
false, removeUdpCandidates: false, media: Array[3], session: "v=0 ↵o=-
7217325598155508228 3 IN IP4 127.0.0.1 ↵s…d5171b1568
a5678acb-fe00-4bb1-a9c2-bda5365049ac ↵", raw: "v=0 ↵o=- 7217325598155508228
3 IN IP4 127.0.0.1 ↵s…id:data ↵a=sctpmap:5000 webrtc-datachannel 1024 ↵"}
SDP {removeTcpCandidates: false, removeUdpCandidates: false, media:
Array[3], session: "v=0 ↵o=- 7217325598155508228 4 IN IP4 127.0.0.1 ↵s…MS
6741415f-abc4-4670-9838-78d5171b1568 default ↵", raw: "v=0 ↵o=-
7217325598155508228 4 IN IP4 127.0.0.1 ↵s…id:data ↵a=sctpmap:5000
webrtc-datachannel 1024 ↵"}
[/modules/xmpp/JingleSessionPC.js] <JingleSessionPC.notifyMySSRCUpdate>:
Sending source-remove <iq to=​"laca@conference.my.domain/​focus"
type=​"set" xmlns=​"jabber:​client"
id=​"4a674754-3e4d-4ebb-8b88-9496f83a5686:​sendIQ">​…​</iq>​
[/modules/xmpp/JingleSessionPC.js] <JingleSessionPC.notifyMySSRCUpdate>:
Sending source-add <iq to=​"laca@conference.my.domain/​focus" type=​"set"
xmlns=​"jabber:​client"
id=​"b83431e3-318b-46ad-b4f5-1d21fd213a7d:​sendIQ">​…​</iq>​
Halt: There are no SSRC groups in the remote description.
[/modules/xmpp/JingleSessionPC.js] <>: modify sources done
[/modules/xmpp/JingleSessionPC.js] <>: SDPs SDP {removeTcpCandidates:
false, removeUdpCandidates: false, media: Array[3], session: "v=0 ↵o=-
7217325598155508228 4 IN IP4 127.0.0.1 ↵s…MS
6741415f-abc4-4670-9838-78d5171b1568 default ↵", raw: "v=0 ↵o=-
7217325598155508228 4 IN IP4 127.0.0.1 ↵s…id:data ↵a=sctpmap:5000
webrtc-datachannel 1024 ↵"} SDP {removeTcpCandidates: false,
removeUdpCandidates: false, media: Array[3], session: "v=0 ↵o=-
7217325598155508228 5 IN IP4 127.0.0.1 ↵s…d5171b1568
acc0b667-689c-40e9-9ccc-86ec1a4691c6 ↵", raw: "v=0 ↵o=- 7217325598155508228
5 IN IP4 127.0.0.1 ↵s…id:data ↵a=sctpmap:5000 webrtc-datachannel 1024 ↵"}
[/modules/xmpp/JingleSessionPC.js] <JingleSessionPC.notifyMySSRCUpdate>:
Sending source-remove <iq to=​"laca@conference.my.domain/​focus"
type=​"set" xmlns=​"jabber:​client"
id=​"5cf0c674-2edf-4618-a688-9302b8d40c75:​sendIQ">​…​</iq>​
[/modules/xmpp/JingleSessionPC.js] <JingleSessionPC.notifyMySSRCUpdate>:
Sending source-add <iq to=​"laca@conference.my.domain/​focus" type=​"set"
xmlns=​"jabber:​client"
id=​"84540df7-9a02-463f-8058-419ea92ff315:​sendIQ">​…​</iq>​
sharing local video
[/modules/xmpp/JingleSessionPC.js] <>: got remove result <iq
xmlns=​"jabber:​client" type=​"result"
to=​"f39b2e72-7853-41e7-b827-41e9c47ee72d@my.domain/​aafcadfb-f1cd-4102-911a-e1367889bb53"
from=​"laca@conference.my.domain/​focus"
id=​"4a674754-3e4d-4ebb-8b88-9496f83a5686:​sendIQ">​</iq>​
[/modules/statistics/RTPStatsCollector.js]
<StatsCollector.processStatsReport>: 3222048017 not enough data
[/modules/statistics/RTPStatsCollector.js]
<StatsCollector.processStatsReport>: 1420630917 not enough data
[/modules/xmpp/JingleSessionPC.js] <>: got add result <iq
xmlns=​"jabber:​client" type=​"result"
to=​"f39b2e72-7853-41e7-b827-41e9c47ee72d@my.domain/​aafcadfb-f1cd-4102-911a-e1367889bb53"
from=​"laca@conference.my.domain/​focus"
id=​"b83431e3-318b-46ad-b4f5-1d21fd213a7d:​sendIQ">​</iq>​
[/modules/xmpp/JingleSessionPC.js] <>: got remove result <iq
xmlns=​"jabber:​client" type=​"result"
to=​"f39b2e72-7853-41e7-b827-41e9c47ee72d@my.domain/​aafcadfb-f1cd-4102-911a-e1367889bb53"
from=​"laca@conference.my.domain/​focus"
id=​"5cf0c674-2edf-4618-a688-9302b8d40c75:​sendIQ">​</iq>​
[/modules/xmpp/JingleSessionPC.js] <>: got add result <iq
xmlns=​"jabber:​client" type=​"result"
to=​"f39b2e72-7853-41e7-b827-41e9c47ee72d@my.domain/​aafcadfb-f1cd-4102-911a-e1367889bb53"
from=​"laca@conference.my.domain/​focus"
id=​"84540df7-9a02-463f-8058-419ea92ff315:​sendIQ">​</iq>​
[/modules/xmpp/strophe.jingle.js]
<Object.Strophe.addConnectionPlugin.onJingle>: on jingle source-remove
from laca@conference.my.domain/focus <iq xmlns=​"jabber:​client"
type=​"set" to=​"f39b2e72-7853-41e7-b827-41e9c47ee72d@my.domain/​aafcadfb-f1cd-4102-911a-e1367889bb53"
from=​"laca@conference.my.domain/​focus"
id=​"ZjM5YjJlNzItNzg1My00MWU3LWI4MjctNDFlOWM0N2VlNzJkQGxhY2Eub3NpNy5yby9hYWZjYWRmYi1mMWNkLTQxMDItOTExYS1lMTM2Nzg4OWJiNTMASDFqVDUtMTA1NzIAn01/​QAzO857r8WM+aschPw==">​…​</iq>​
[/modules/xmpp/JingleSessionPC.js] <JingleSessionPC.removeSource>:
removessrc 1458675382954
[/modules/xmpp/JingleSessionPC.js] <JingleSessionPC.removeSource>: ice
connected
[/modules/xmpp/strophe.jingle.js]
<Object.Strophe.addConnectionPlugin.onJingle>: on jingle source-add from
laca@conference.my.domain/focus <iq xmlns=​"jabber:​client" type=​"set"
to=​"f39b2e72-7853-41e7-b827-41e9c47ee72d@my.domain/​aafcadfb-f1cd-4102-911a-e1367889bb53"
from=​"laca@conference.my.domain/​focus"
id=​"ZjM5YjJlNzItNzg1My00MWU3LWI4MjctNDFlOWM0N2VlNzJkQGxhY2Eub3NpNy5yby9hYWZjYWRmYi1mMWNkLTQxMDItOTExYS1lMTM2Nzg4OWJiNTMASDFqVDUtMTA1NzQAn01/​QAzO857r8WM+aschPw==">​…​</iq>​
[/modules/xmpp/JingleSessionPC.js] <JingleSessionPC.addSource>: addssrc
1458675382961
[/modules/xmpp/JingleSessionPC.js] <JingleSessionPC.addSource>: ice
connected
Halt: There are no SSRC groups in the remote description.
[/modules/xmpp/JingleSessionPC.js] <>: modify sources done
[/modules/xmpp/JingleSessionPC.js] <>: SDPs SDP {removeTcpCandidates:
false, removeUdpCandidates: false, media: Array[3], session: "v=0 ↵o=-
7217325598155508228 5 IN IP4 127.0.0.1 ↵s…d5171b1568
acc0b667-689c-40e9-9ccc-86ec1a4691c6 ↵", raw: "v=0 ↵o=- 7217325598155508228
5 IN IP4 127.0.0.1 ↵s…id:data ↵a=sctpmap:5000 webrtc-datachannel 1024 ↵"}
SDP {removeTcpCandidates: false, removeUdpCandidates: false, media:
Array[3], session: "v=0 ↵o=- 7217325598155508228 6 IN IP4 127.0.0.1
↵s…d5171b1568 acc0b667-689c-40e9-9ccc-86ec1a4691c6 ↵", raw: "v=0 ↵o=-
7217325598155508228 6 IN IP4 127.0.0.1 ↵s…id:data ↵a=sctpmap:5000
webrtc-datachannel 1024 ↵"}
[/modules/xmpp/JingleSessionPC.js] <JingleSessionPC.notifyMySSRCUpdate>:
removal not necessary
[/modules/xmpp/JingleSessionPC.js] <JingleSessionPC.notifyMySSRCUpdate>:
addition not necessary
[/modules/xmpp/JingleSessionPC.js] <>: modify sources done
[/modules/xmpp/JingleSessionPC.js] <>: SDPs SDP {removeTcpCandidates:
false, removeUdpCandidates: false, media: Array[3], session: "v=0 ↵o=-
7217325598155508228 5 IN IP4 127.0.0.1 ↵s…d5171b1568
acc0b667-689c-40e9-9ccc-86ec1a4691c6 ↵", raw: "v=0 ↵o=- 7217325598155508228
5 IN IP4 127.0.0.1 ↵s…id:data ↵a=sctpmap:5000 webrtc-datachannel 1024 ↵"}
SDP {removeTcpCandidates: false, removeUdpCandidates: false, media:
Array[3], session: "v=0 ↵o=- 7217325598155508228 6 IN IP4 127.0.0.1
↵s…d5171b1568 acc0b667-689c-40e9-9ccc-86ec1a4691c6 ↵", raw: "v=0 ↵o=-
7217325598155508228 6 IN IP4 127.0.0.1 ↵s…id:data ↵a=sctpmap:5000
webrtc-datachannel 1024 ↵"}
[/modules/xmpp/JingleSessionPC.js] <JingleSessionPC.notifyMySSRCUpdate>:
removal not necessary
[/modules/xmpp/JingleSessionPC.js] <JingleSessionPC.notifyMySSRCUpdate>:
addition not necessary
[/modules/statistics/RTPStatsCollector.js]
<StatsCollector.processAudioLevelReport>: 1304458294 not enough data
[/modules/xmpp/strophe.jingle.js]
<Object.Strophe.addConnectionPlugin.onJingle>: on jingle source-add from
laca@conference.my.domain/focus
[/modules/xmpp/JingleSessionPC.js] <JingleSessionPC.addSource>: addssrc
1458675383081
[/modules/xmpp/JingleSessionPC.js] <JingleSessionPC.addSource>: ice
connected
Halt: There are no SSRC groups in the remote description.
[/modules/xmpp/JingleSessionPC.js] <>: modify sources done
[/modules/xmpp/JingleSessionPC.js] <>: SDPs SDP {removeTcpCandidates:
false, removeUdpCandidates: false, media: Array[3], session: "v=0 ↵o=-
7217325598155508228 6 IN IP4 127.0.0.1 ↵s…d5171b1568
acc0b667-689c-40e9-9ccc-86ec1a4691c6 ↵", raw: "v=0 ↵o=- 7217325598155508228
6 IN IP4 127.0.0.1 ↵s…id:data ↵a=sctpmap:5000 webrtc-datachannel 1024 ↵"}
SDP {removeTcpCandidates: false, removeUdpCandidates: false, media:
Array[3], session: "v=0 ↵o=- 7217325598155508228 7 IN IP4 127.0.0.1
↵s…d5171b1568 acc0b667-689c-40e9-9ccc-86ec1a4691c6 ↵", raw: "v=0 ↵o=-
7217325598155508228 7 IN IP4 127.0.0.1 ↵s…id:data ↵a=sctpmap:5000
webrtc-datachannel 1024 ↵"}
[/modules/xmpp/JingleSessionPC.js] <JingleSessionPC.notifyMySSRCUpdate>:
removal not necessary
[/modules/xmpp/JingleSessionPC.js] <JingleSessionPC.notifyMySSRCUpdate>:
addition not necessary
[/modules/statistics/RTPStatsCollector.js]
<StatsCollector.processAudioLevelReport>: 2874536280 not enough data
[/modules/statistics/RTPStatsCollector.js]
<StatsCollector.processStatsReport>: 1304458294 not enough data
[/modules/statistics/RTPStatsCollector.js]
<StatsCollector.processStatsReport>: 2874536280 not enough data


#2

So the obtaining of the stream failed. Would you mind sharing your config.js?

Regards,
Boris

···

On 22/03/16 14:39, Laszlo KERTESZ wrote:

This is what appears in the JS console when i click on the Share Desktop
Button:

[/modules/RTC/DataChannels.js] <RTCDataChannel.dataChannel.onmessage>:
Data channel new dominant speaker event: 0b92b9b0
failed to create local tracks desktop gum.general
[/modules/RTC/RTCUtils.js]
<Object.RTCUtils.getUserMediaWithConstraints>: Get media constraints
Object {audio: false, video: Object}
failed to share local desktop gum.general


#3

This is my /etc/jitsi/meet/my.domain-config.js
var config = {
    hosts: {
        domain: 'my.domain',
        //anonymousdomain: 'guest.example.com',
        muc: 'conference.my.domain', // FIXME: use XEP-0030
        bridge: 'jitsi-videobridge.my.domain', // FIXME: use XEP-0030
        //jirecon: 'jirecon.my.domain',
        //call_control: 'callcontrol.my.domain',
        //focus: 'focus.my.domain' - defaults to 'focus.my.domain'
    },

// getroomnode: function (path) { return 'someprefixpossiblybasedonpath';
},
// useStunTurn: true, // use XEP-0215 to fetch STUN and TURN server
// useIPv6: true, // ipv6 support. use at your own risk
    useNicks: false,
    resolution: '720',
    bosh: '//my.domain/http-bind', // FIXME: use xep-0156 for that
    clientNode: 'https://my.domain/', // The name of client node advertised
in XEP-0115 'c' stanza
    //focusUserJid: 'focus@auth.my.domain', // The real JID of focus
participant - can be overridden here
    //defaultSipNumber: '', // Default SIP number
    desktopSharing: 'ext', // Desktop sharing method. Can be set to 'ext',
'webrtc' or false to disable.
// chromeExtensionId: 'mychromeextensionid', // Id of desktop streamer
Chrome extension
    desktopSharingSources: ['desktop', 'screen', 'window'],
// desktopSharingSources: ['window'],
    desktopSharingChromeExtId: 'mychromeextensionid',
    minChromeExtVersion: '0.1', // Required version of Chrome extension
    openSctp: true, // Toggle to enable/disable SCTP channels
    disableStats: false,
    disableAudioLevels: false,
    channelLastN: -1, // The default value of the channel attribute last-n.
    adaptiveLastN: false,
    adaptiveSimulcast: false,
    useRtcpMux: true, // required for FF support
    useBundle: true, // required for FF support
    enableRecording: false,
    enableWelcomePage: true,
    enableSimulcast: false, // blocks FF support
    logStats: false, // Enable logging of PeerConnection stats via the focus
// requireDisplayName: true,//Forces the participants that doesn't have
display name to enter it when they enter the room.
// startAudioMuted: 10, //every participant after the Nth will start
audio muted
// startVideoMuted: 10, //every participant after the Nth will start
video muted
// defaultLanguage: "en",
// To enable sending statistics to callstats.io you should provide
Applicaiton ID and Secret.
// callStatsID: "",//Application ID for callstats.io API
// callStatsSecret: ""//Secret for callstats.io API
    /*noticeMessage: 'Service update is scheduled for 16th March 2015. ' +
    'During that time service will not be available. ' +
    'Apologise for inconvenience.'*/
    disableThirdPartyRequests: true,
};

···

On Tue, Mar 22, 2016 at 9:51 PM, Boris Grozev <boris@jitsi.org> wrote:

On 22/03/16 14:39, Laszlo KERTESZ wrote:

This is what appears in the JS console when i click on the Share Desktop
Button:

[/modules/RTC/DataChannels.js] <RTCDataChannel.dataChannel.onmessage>:
Data channel new dominant speaker event: 0b92b9b0
failed to create local tracks desktop gum.general
[/modules/RTC/RTCUtils.js]
<Object.RTCUtils.getUserMediaWithConstraints>: Get media constraints
Object {audio: false, video: Object}
failed to share local desktop gum.general

So the obtaining of the stream failed. Would you mind sharing your
config.js?

Regards,
Boris

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


#4

I reproduce the problem if I use the above line locally. Removing desktop (as it is in the config.js in the repo) seems to fix it. I don't quite understand why.

desktopSharingSources: ['screen', 'window']

Regards,
Boris

···

On 22/03/16 15:17, Laszlo KERTESZ wrote:

This is my /etc/jitsi/meet/my.domain-config.js
var config = {
     hosts: {
         domain: 'my.domain',
         //anonymousdomain: 'guest.example.com <http://guest.example.com>',
         muc: 'conference.my.domain', // FIXME: use XEP-0030
         bridge: 'jitsi-videobridge.my.domain', // FIXME: use XEP-0030
         //jirecon: 'jirecon.my.domain',
         //call_control: 'callcontrol.my.domain',
         //focus: 'focus.my.domain' - defaults to 'focus.my.domain'
     },

// getroomnode: function (path) { return
'someprefixpossiblybasedonpath'; },
// useStunTurn: true, // use XEP-0215 to fetch STUN and TURN server
// useIPv6: true, // ipv6 support. use at your own risk
     useNicks: false,
     resolution: '720',
     bosh: '//my.domain/http-bind', // FIXME: use xep-0156 for that
     clientNode: 'https://my.domain/', // The name of client node
advertised in XEP-0115 'c' stanza
     //focusUserJid: 'focus@auth.my.domain', // The real JID of focus
participant - can be overridden here
     //defaultSipNumber: '', // Default SIP number
     desktopSharing: 'ext', // Desktop sharing method. Can be set to
'ext', 'webrtc' or false to disable.
// chromeExtensionId: 'mychromeextensionid', // Id of desktop
streamer Chrome extension
     desktopSharingSources: ['desktop', 'screen', 'window'],


#5

Yes, removing "desktop" works. Thanks for the suggestion.

Another desktop sharing related question: is there some control over the
desktop sharing fps? Firefox shares at a much higher frame rate, i could
stream 1280x720@30fps perfectly, Chrome on the other hand uses much lower
fps, like 5 or so.
But i would prefer Chrome since it uses much less CPU.

···

On Tue, Mar 22, 2016 at 10:52 PM, Boris Grozev <boris@jitsi.org> wrote:

On 22/03/16 15:17, Laszlo KERTESZ wrote:

This is my /etc/jitsi/meet/my.domain-config.js
var config = {
     hosts: {
         domain: 'my.domain',
         //anonymousdomain: 'guest.example.com <http://guest.example.com
>',
         muc: 'conference.my.domain', // FIXME: use XEP-0030
         bridge: 'jitsi-videobridge.my.domain', // FIXME: use XEP-0030
         //jirecon: 'jirecon.my.domain',
         //call_control: 'callcontrol.my.domain',
         //focus: 'focus.my.domain' - defaults to 'focus.my.domain'
     },

// getroomnode: function (path) { return
'someprefixpossiblybasedonpath'; },
// useStunTurn: true, // use XEP-0215 to fetch STUN and TURN server
// useIPv6: true, // ipv6 support. use at your own risk
     useNicks: false,
     resolution: '720',
     bosh: '//my.domain/http-bind', // FIXME: use xep-0156 for that
     clientNode: 'https://my.domain/', // The name of client node
advertised in XEP-0115 'c' stanza
     //focusUserJid: 'focus@auth.my.domain', // The real JID of focus
participant - can be overridden here
     //defaultSipNumber: '', // Default SIP number
     desktopSharing: 'ext', // Desktop sharing method. Can be set to
'ext', 'webrtc' or false to disable.
// chromeExtensionId: 'mychromeextensionid', // Id of desktop
streamer Chrome extension
     desktopSharingSources: ['desktop', 'screen', 'window'],

I reproduce the problem if I use the above line locally. Removing desktop
(as it is in the config.js in the repo) seems to fix it. I don't quite
understand why.

desktopSharingSources: ['screen', 'window']

Regards,
Boris

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


#6

Actually i found it, it's in
/usr/share/jitsi-meet/libs/lib-jitsi-meet.min.js, the maxFrameRate variable.
Can this be set somehow from a static config file?

···

On Tue, Mar 22, 2016 at 11:14 PM, Laszlo KERTESZ <laszlo.kertesz@gmail.com> wrote:

Yes, removing "desktop" works. Thanks for the suggestion.

Another desktop sharing related question: is there some control over the
desktop sharing fps? Firefox shares at a much higher frame rate, i could
stream 1280x720@30fps perfectly, Chrome on the other hand uses much lower
fps, like 5 or so.
But i would prefer Chrome since it uses much less CPU.

On Tue, Mar 22, 2016 at 10:52 PM, Boris Grozev <boris@jitsi.org> wrote:

On 22/03/16 15:17, Laszlo KERTESZ wrote:

This is my /etc/jitsi/meet/my.domain-config.js
var config = {
     hosts: {
         domain: 'my.domain',
         //anonymousdomain: 'guest.example.com <http://guest.example.com
>',
         muc: 'conference.my.domain', // FIXME: use XEP-0030
         bridge: 'jitsi-videobridge.my.domain', // FIXME: use XEP-0030
         //jirecon: 'jirecon.my.domain',
         //call_control: 'callcontrol.my.domain',
         //focus: 'focus.my.domain' - defaults to 'focus.my.domain'
     },

// getroomnode: function (path) { return
'someprefixpossiblybasedonpath'; },
// useStunTurn: true, // use XEP-0215 to fetch STUN and TURN server
// useIPv6: true, // ipv6 support. use at your own risk
     useNicks: false,
     resolution: '720',
     bosh: '//my.domain/http-bind', // FIXME: use xep-0156 for that
     clientNode: 'https://my.domain/', // The name of client node
advertised in XEP-0115 'c' stanza
     //focusUserJid: 'focus@auth.my.domain', // The real JID of focus
participant - can be overridden here
     //defaultSipNumber: '', // Default SIP number
     desktopSharing: 'ext', // Desktop sharing method. Can be set to
'ext', 'webrtc' or false to disable.
// chromeExtensionId: 'mychromeextensionid', // Id of desktop
streamer Chrome extension
     desktopSharingSources: ['desktop', 'screen', 'window'],

I reproduce the problem if I use the above line locally. Removing desktop
(as it is in the config.js in the repo) seems to fix it. I don't quite
understand why.

desktopSharingSources: ['screen', 'window']

Regards,
Boris

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