|
@@ -291,8 +291,9 @@ JitsiConference.prototype.onMemberJoined = function (jid, email, nick) {
|
291
|
291
|
this.eventEmitter.emit(JitsiConferenceEvents.USER_JOINED, id);
|
292
|
292
|
this.participants[id] = participant;
|
293
|
293
|
this.connection.xmpp.connection.disco.info(
|
294
|
|
- jid, "" /* node */, function(iq) {
|
295
|
|
- participant._supportsDTMF = $(iq).find('>query>feature[var="urn:xmpp:jingle:dtmf:0"]').length > 0;
|
|
294
|
+ jid, "node", function(iq) {
|
|
295
|
+ participant._supportsDTMF = $(iq).find(
|
|
296
|
+ '>query>feature[var="urn:xmpp:jingle:dtmf:0"]').length > 0;
|
296
|
297
|
this.updateDTMFSupport();
|
297
|
298
|
}.bind(this)
|
298
|
299
|
);
|
|
@@ -2523,17 +2524,23 @@ function handleLocalStream(streams, resolution) {
|
2523
|
2524
|
}
|
2524
|
2525
|
}
|
2525
|
2526
|
|
|
2527
|
+ if (streams && streams.desktopStream)
|
|
2528
|
+ desktopStream = streams.desktopStream;
|
|
2529
|
+
|
2526
|
2530
|
}
|
2527
|
2531
|
else if (RTCBrowserType.isFirefox() || RTCBrowserType.isTemasysPluginUsed()) { // Firefox and Temasys plugin
|
2528
|
|
- if (streams && streams.audioStream)
|
2529
|
|
- audioStream = streams.audioStream;
|
|
2532
|
+ if (streams && streams.audio)
|
|
2533
|
+ audioStream = streams.audio;
|
|
2534
|
+
|
|
2535
|
+ if (streams && streams.video)
|
|
2536
|
+ videoStream = streams.video;
|
2530
|
2537
|
|
2531
|
|
- if (streams && streams.videoStream)
|
2532
|
|
- videoStream = streams.videoStream;
|
|
2538
|
+ if(streams && streams.desktop)
|
|
2539
|
+ desktopStream = streams.desktop;
|
2533
|
2540
|
}
|
2534
|
2541
|
|
2535
|
|
- if (streams && streams.desktopStream)
|
2536
|
|
- res.push({stream: streams.desktopStream,
|
|
2542
|
+ if (desktopStream)
|
|
2543
|
+ res.push({stream: desktopStream,
|
2537
|
2544
|
type: "video", videoType: "desktop"});
|
2538
|
2545
|
|
2539
|
2546
|
if(audioStream)
|