use lib to change chat subject
This commit is contained in:
parent
a0355ea080
commit
d31aca4483
|
@ -634,10 +634,11 @@ export default {
|
|||
|
||||
});
|
||||
|
||||
APP.UI.addListener(UIEvents.TOPIC_CHANGED, (topic) => {
|
||||
// FIXME handle topic change
|
||||
// APP.xmpp.setSubject(topic);
|
||||
// on SUBJECT_CHANGED UI.setSubject(topic);
|
||||
APP.UI.addListener(UIEvents.SUBJECT_CHANGED, (topic) => {
|
||||
room.setSubject(topic);
|
||||
});
|
||||
room.on(ConferenceEvents.SUBJECT_CHANGED, function (subject) {
|
||||
APP.UI.setSubject(subject);
|
||||
});
|
||||
|
||||
APP.UI.addListener(UIEvents.USER_KICKED, (id) => {
|
||||
|
|
|
@ -258,6 +258,16 @@ JitsiConference.prototype.setDisplayName = function(name) {
|
|||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Set new subject for this conference. (available only for moderator)
|
||||
* @param {string} subject new subject
|
||||
*/
|
||||
JitsiConference.prototype.setSubject = function (subject) {
|
||||
if (this.room && this.isModerator()) {
|
||||
this.room.setSubject(subject);
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Adds JitsiLocalTrack object to the conference.
|
||||
* @param track the JitsiLocalTrack object.
|
||||
|
@ -785,6 +795,10 @@ function setupListeners(conference) {
|
|||
}
|
||||
);
|
||||
|
||||
conference.room.addListener(XMPPEvents.SUBJECT_CHANGED, function (subject) {
|
||||
conference.eventEmitter.emit(JitsiConferenceEvents.SUBJECT_CHANGED, subject);
|
||||
});
|
||||
|
||||
conference.room.addListener(XMPPEvents.MUC_JOINED, function () {
|
||||
conference.eventEmitter.emit(JitsiConferenceEvents.CONFERENCE_JOINED);
|
||||
});
|
||||
|
@ -1001,7 +1015,7 @@ function setupListeners(conference) {
|
|||
module.exports = JitsiConference;
|
||||
|
||||
}).call(this,"/JitsiConference.js")
|
||||
},{"./JitsiConferenceErrors":2,"./JitsiConferenceEvents":3,"./JitsiParticipant":8,"./JitsiTrackEvents":10,"./modules/DTMF/JitsiDTMFManager":11,"./modules/RTC/RTC":16,"./modules/settings/Settings":21,"./modules/statistics/statistics":25,"./service/RTC/RTCEvents":132,"./service/authentication/AuthenticationEvents":134,"./service/xmpp/XMPPEvents":138,"events":45,"jitsi-meet-logger":49}],2:[function(require,module,exports){
|
||||
},{"./JitsiConferenceErrors":2,"./JitsiConferenceEvents":3,"./JitsiParticipant":8,"./JitsiTrackEvents":10,"./modules/DTMF/JitsiDTMFManager":11,"./modules/RTC/RTC":16,"./modules/settings/Settings":21,"./modules/statistics/statistics":25,"./service/RTC/RTCEvents":136,"./service/authentication/AuthenticationEvents":138,"./service/xmpp/XMPPEvents":142,"events":45,"jitsi-meet-logger":49}],2:[function(require,module,exports){
|
||||
/**
|
||||
* Enumeration with the errors for the conference.
|
||||
* @type {{string: string}}
|
||||
|
@ -1077,6 +1091,10 @@ var JitsiConferenceEvents = {
|
|||
* A user has changed it display name
|
||||
*/
|
||||
DISPLAY_NAME_CHANGED: "conference.displayNameChanged",
|
||||
/**
|
||||
* Indicates that subject of the conference has changed.
|
||||
*/
|
||||
SUBJECT_CHANGED: "conference.subjectChanged",
|
||||
/**
|
||||
* A participant avatar has changed.
|
||||
*/
|
||||
|
@ -1419,7 +1437,7 @@ window.Promise = window.Promise || require("es6-promise").Promise;
|
|||
|
||||
module.exports = LibJitsiMeet;
|
||||
|
||||
},{"./JitsiConferenceErrors":2,"./JitsiConferenceEvents":3,"./JitsiConnection":4,"./JitsiConnectionErrors":5,"./JitsiConnectionEvents":6,"./JitsiTrackErrors":9,"./JitsiTrackEvents":10,"./modules/RTC/RTC":16,"./modules/statistics/statistics":25,"./service/RTC/Resolutions":133,"es6-promise":47,"jitsi-meet-logger":49}],8:[function(require,module,exports){
|
||||
},{"./JitsiConferenceErrors":2,"./JitsiConferenceEvents":3,"./JitsiConnection":4,"./JitsiConnectionErrors":5,"./JitsiConnectionEvents":6,"./JitsiTrackErrors":9,"./JitsiTrackEvents":10,"./modules/RTC/RTC":16,"./modules/statistics/statistics":25,"./service/RTC/Resolutions":137,"es6-promise":47,"jitsi-meet-logger":49}],8:[function(require,module,exports){
|
||||
/* global Strophe */
|
||||
|
||||
/**
|
||||
|
@ -1867,7 +1885,7 @@ module.exports = DataChannels;
|
|||
|
||||
|
||||
}).call(this,"/modules/RTC/DataChannels.js")
|
||||
},{"../../service/RTC/RTCEvents":132,"jitsi-meet-logger":49}],13:[function(require,module,exports){
|
||||
},{"../../service/RTC/RTCEvents":136,"jitsi-meet-logger":49}],13:[function(require,module,exports){
|
||||
var JitsiTrack = require("./JitsiTrack");
|
||||
var RTCBrowserType = require("./RTCBrowserType");
|
||||
var JitsiTrackEvents = require('../../JitsiTrackEvents');
|
||||
|
@ -2644,7 +2662,7 @@ RTC.prototype.setAudioLevel = function (jid, audioLevel) {
|
|||
}
|
||||
module.exports = RTC;
|
||||
|
||||
},{"../../service/RTC/MediaStreamTypes":131,"../../service/RTC/RTCEvents.js":132,"../../service/desktopsharing/DesktopSharingEventTypes":135,"./DataChannels":12,"./JitsiLocalTrack.js":13,"./JitsiRemoteTrack.js":14,"./JitsiTrack":15,"./RTCBrowserType":17,"./RTCUtils.js":18,"events":45}],17:[function(require,module,exports){
|
||||
},{"../../service/RTC/MediaStreamTypes":135,"../../service/RTC/RTCEvents.js":136,"../../service/desktopsharing/DesktopSharingEventTypes":139,"./DataChannels":12,"./JitsiLocalTrack.js":13,"./JitsiRemoteTrack.js":14,"./JitsiTrack":15,"./RTCBrowserType":17,"./RTCUtils.js":18,"events":45}],17:[function(require,module,exports){
|
||||
|
||||
var currentBrowser;
|
||||
|
||||
|
@ -3637,7 +3655,7 @@ var RTCUtils = {
|
|||
module.exports = RTCUtils;
|
||||
|
||||
}).call(this,"/modules/RTC/RTCUtils.js")
|
||||
},{"../../JitsiTrackErrors":9,"../../service/RTC/RTCEvents":132,"../../service/RTC/Resolutions":133,"../xmpp/SDPUtil":33,"./RTCBrowserType":17,"./ScreenObtainer":19,"./adapter.screenshare":20,"events":45,"jitsi-meet-logger":49}],19:[function(require,module,exports){
|
||||
},{"../../JitsiTrackErrors":9,"../../service/RTC/RTCEvents":136,"../../service/RTC/Resolutions":137,"../xmpp/SDPUtil":33,"./RTCBrowserType":17,"./ScreenObtainer":19,"./adapter.screenshare":20,"events":45,"jitsi-meet-logger":49}],19:[function(require,module,exports){
|
||||
(function (__filename){
|
||||
/* global chrome, $, alert */
|
||||
/* jshint -W003 */
|
||||
|
@ -4053,7 +4071,7 @@ function initFirefoxExtensionDetection(options) {
|
|||
module.exports = ScreenObtainer;
|
||||
|
||||
}).call(this,"/modules/RTC/ScreenObtainer.js")
|
||||
},{"../../JitsiTrackErrors":9,"../../service/desktopsharing/DesktopSharingEventTypes":135,"./RTCBrowserType":17,"./adapter.screenshare":20,"jitsi-meet-logger":49}],20:[function(require,module,exports){
|
||||
},{"../../JitsiTrackErrors":9,"../../service/desktopsharing/DesktopSharingEventTypes":139,"./RTCBrowserType":17,"./adapter.screenshare":20,"jitsi-meet-logger":49}],20:[function(require,module,exports){
|
||||
(function (__filename){
|
||||
/*! adapterjs - v0.12.3 - 2015-11-16 */
|
||||
var console = require("jitsi-meet-logger").getLogger(__filename);
|
||||
|
@ -5587,7 +5605,7 @@ CallStats.sendAddIceCandidateFailed = _try_catch(function (e, pc, cs) {
|
|||
module.exports = CallStats;
|
||||
|
||||
}).call(this,"/modules/statistics/CallStats.js")
|
||||
},{"jitsi-meet-logger":49,"jssha":50,"socket.io-client":81}],23:[function(require,module,exports){
|
||||
},{"jitsi-meet-logger":49,"jssha":50,"socket.io-client":85}],23:[function(require,module,exports){
|
||||
/* global config */
|
||||
/**
|
||||
* Provides statistics for the local stream.
|
||||
|
@ -6444,7 +6462,7 @@ StatsCollector.prototype.processAudioLevelReport = function () {
|
|||
};
|
||||
|
||||
}).call(this,"/modules/statistics/RTPStatsCollector.js")
|
||||
},{"../../service/statistics/Events":136,"../RTC/RTCBrowserType":17,"jitsi-meet-logger":49}],25:[function(require,module,exports){
|
||||
},{"../../service/statistics/Events":140,"../RTC/RTCBrowserType":17,"jitsi-meet-logger":49}],25:[function(require,module,exports){
|
||||
/* global require, APP */
|
||||
var LocalStats = require("./LocalStatsCollector.js");
|
||||
var RTPStats = require("./RTPStatsCollector.js");
|
||||
|
@ -6728,7 +6746,7 @@ Statistics.LOCAL_JID = require("../../service/statistics/constants").LOCAL_JID;
|
|||
|
||||
module.exports = Statistics;
|
||||
|
||||
},{"../../service/statistics/Events":136,"../../service/statistics/constants":137,"./CallStats":22,"./LocalStatsCollector.js":23,"./RTPStatsCollector.js":24,"events":45}],26:[function(require,module,exports){
|
||||
},{"../../service/statistics/Events":140,"../../service/statistics/constants":141,"./CallStats":22,"./LocalStatsCollector.js":23,"./RTPStatsCollector.js":24,"events":45}],26:[function(require,module,exports){
|
||||
/**
|
||||
/**
|
||||
* @const
|
||||
|
@ -7594,7 +7612,6 @@ ChatRoom.prototype.setSubject = function (subject) {
|
|||
var msg = $msg({to: this.roomjid, type: 'groupchat'});
|
||||
msg.c('subject', subject);
|
||||
this.connection.send(msg);
|
||||
logger.log("topic changed to " + subject);
|
||||
};
|
||||
|
||||
|
||||
|
@ -8048,7 +8065,7 @@ ChatRoom.prototype.onMute = function (iq) {
|
|||
module.exports = ChatRoom;
|
||||
|
||||
}).call(this,"/modules/xmpp/ChatRoom.js")
|
||||
},{"../../service/xmpp/XMPPEvents":138,"./moderator":35,"./recording":36,"events":45,"jitsi-meet-logger":49}],29:[function(require,module,exports){
|
||||
},{"../../service/xmpp/XMPPEvents":142,"./moderator":35,"./recording":36,"events":45,"jitsi-meet-logger":49}],29:[function(require,module,exports){
|
||||
(function (__filename){
|
||||
/*
|
||||
* JingleSession provides an API to manage a single Jingle session. We will
|
||||
|
@ -9847,7 +9864,7 @@ JingleSessionPC.prototype.getIceConnectionState = function () {
|
|||
module.exports = JingleSessionPC;
|
||||
|
||||
}).call(this,"/modules/xmpp/JingleSessionPC.js")
|
||||
},{"../../service/xmpp/XMPPEvents":138,"../RTC/RTC":16,"../RTC/RTCBrowserType":17,"./JingleSession":29,"./SDP":31,"./SDPDiffer":32,"./SDPUtil":33,"./TraceablePeerConnection":34,"async":44,"jitsi-meet-logger":49,"sdp-transform":78}],31:[function(require,module,exports){
|
||||
},{"../../service/xmpp/XMPPEvents":142,"../RTC/RTC":16,"../RTC/RTCBrowserType":17,"./JingleSession":29,"./SDP":31,"./SDPDiffer":32,"./SDPUtil":33,"./TraceablePeerConnection":34,"async":44,"jitsi-meet-logger":49,"sdp-transform":82}],31:[function(require,module,exports){
|
||||
(function (__filename){
|
||||
/* jshint -W117 */
|
||||
|
||||
|
@ -11542,7 +11559,7 @@ TraceablePeerConnection.prototype.getStats = function(callback, errback) {
|
|||
module.exports = TraceablePeerConnection;
|
||||
|
||||
}).call(this,"/modules/xmpp/TraceablePeerConnection.js")
|
||||
},{"../../service/xmpp/XMPPEvents":138,"../RTC/RTC":16,"../RTC/RTCBrowserType.js":17,"../util/RandomUtil":26,"jitsi-meet-logger":49,"sdp-interop":68,"sdp-simulcast":75,"sdp-transform":78}],35:[function(require,module,exports){
|
||||
},{"../../service/xmpp/XMPPEvents":142,"../RTC/RTC":16,"../RTC/RTCBrowserType.js":17,"../util/RandomUtil":26,"jitsi-meet-logger":49,"sdp-interop":68,"sdp-simulcast":75,"sdp-transform":82}],35:[function(require,module,exports){
|
||||
(function (__filename){
|
||||
/* global $, $iq, Promise, Strophe */
|
||||
|
||||
|
@ -11998,7 +12015,7 @@ Moderator.prototype.logout = function (callback) {
|
|||
module.exports = Moderator;
|
||||
|
||||
}).call(this,"/modules/xmpp/moderator.js")
|
||||
},{"../../service/authentication/AuthenticationEvents":134,"../../service/xmpp/XMPPEvents":138,"jitsi-meet-logger":49}],36:[function(require,module,exports){
|
||||
},{"../../service/authentication/AuthenticationEvents":138,"../../service/xmpp/XMPPEvents":142,"jitsi-meet-logger":49}],36:[function(require,module,exports){
|
||||
(function (__filename){
|
||||
/* global $, $iq, config, connection, focusMucJid, messageHandler,
|
||||
Toolbar, Util, Promise */
|
||||
|
@ -12225,7 +12242,7 @@ Recording.prototype.getURL = function () {
|
|||
module.exports = Recording;
|
||||
|
||||
}).call(this,"/modules/xmpp/recording.js")
|
||||
},{"../../service/xmpp/XMPPEvents":138,"jitsi-meet-logger":49}],37:[function(require,module,exports){
|
||||
},{"../../service/xmpp/XMPPEvents":142,"jitsi-meet-logger":49}],37:[function(require,module,exports){
|
||||
(function (__filename){
|
||||
/* jshint -W117 */
|
||||
/* a simple MUC connection plugin
|
||||
|
@ -12635,7 +12652,7 @@ module.exports = function(XMPP, eventEmitter) {
|
|||
|
||||
|
||||
}).call(this,"/modules/xmpp/strophe.jingle.js")
|
||||
},{"../../service/xmpp/XMPPEvents":138,"../RTC/RTCBrowserType":17,"./JingleSessionPC":30,"jitsi-meet-logger":49}],39:[function(require,module,exports){
|
||||
},{"../../service/xmpp/XMPPEvents":142,"../RTC/RTCBrowserType":17,"./JingleSessionPC":30,"jitsi-meet-logger":49}],39:[function(require,module,exports){
|
||||
/* global Strophe */
|
||||
module.exports = function () {
|
||||
|
||||
|
@ -12783,7 +12800,7 @@ module.exports = function (XMPP, eventEmitter) {
|
|||
};
|
||||
|
||||
}).call(this,"/modules/xmpp/strophe.ping.js")
|
||||
},{"../../service/xmpp/XMPPEvents":138,"jitsi-meet-logger":49}],41:[function(require,module,exports){
|
||||
},{"../../service/xmpp/XMPPEvents":142,"jitsi-meet-logger":49}],41:[function(require,module,exports){
|
||||
(function (__filename){
|
||||
/* jshint -W117 */
|
||||
var logger = require("jitsi-meet-logger").getLogger(__filename);
|
||||
|
@ -13261,7 +13278,7 @@ XMPP.prototype.disconnect = function () {
|
|||
module.exports = XMPP;
|
||||
|
||||
}).call(this,"/modules/xmpp/xmpp.js")
|
||||
},{"../../JitsiConnectionErrors":5,"../../JitsiConnectionEvents":6,"../../service/RTC/RTCEvents":132,"../../service/xmpp/XMPPEvents":138,"../RTC/RTC":16,"./strophe.emuc":37,"./strophe.jingle":38,"./strophe.logger":39,"./strophe.ping":40,"./strophe.rayo":41,"./strophe.util":42,"events":45,"jitsi-meet-logger":49,"pako":51}],44:[function(require,module,exports){
|
||||
},{"../../JitsiConnectionErrors":5,"../../JitsiConnectionEvents":6,"../../service/RTC/RTCEvents":136,"../../service/xmpp/XMPPEvents":142,"../RTC/RTC":16,"./strophe.emuc":37,"./strophe.jingle":38,"./strophe.logger":39,"./strophe.ping":40,"./strophe.rayo":41,"./strophe.util":42,"events":45,"jitsi-meet-logger":49,"pako":51}],44:[function(require,module,exports){
|
||||
(function (process){
|
||||
/*!
|
||||
* async
|
||||
|
@ -24326,10 +24343,18 @@ arguments[4][73][0].apply(exports,arguments)
|
|||
},{"./grammar":77,"dup":73}],80:[function(require,module,exports){
|
||||
arguments[4][74][0].apply(exports,arguments)
|
||||
},{"./grammar":77,"dup":74}],81:[function(require,module,exports){
|
||||
arguments[4][71][0].apply(exports,arguments)
|
||||
},{"dup":71}],82:[function(require,module,exports){
|
||||
arguments[4][72][0].apply(exports,arguments)
|
||||
},{"./parser":83,"./writer":84,"dup":72}],83:[function(require,module,exports){
|
||||
arguments[4][73][0].apply(exports,arguments)
|
||||
},{"./grammar":81,"dup":73}],84:[function(require,module,exports){
|
||||
arguments[4][74][0].apply(exports,arguments)
|
||||
},{"./grammar":81,"dup":74}],85:[function(require,module,exports){
|
||||
|
||||
module.exports = require('./lib/');
|
||||
|
||||
},{"./lib/":82}],82:[function(require,module,exports){
|
||||
},{"./lib/":86}],86:[function(require,module,exports){
|
||||
|
||||
/**
|
||||
* Module dependencies.
|
||||
|
@ -24418,7 +24443,7 @@ exports.connect = lookup;
|
|||
exports.Manager = require('./manager');
|
||||
exports.Socket = require('./socket');
|
||||
|
||||
},{"./manager":83,"./socket":85,"./url":86,"debug":90,"socket.io-parser":126}],83:[function(require,module,exports){
|
||||
},{"./manager":87,"./socket":89,"./url":90,"debug":94,"socket.io-parser":130}],87:[function(require,module,exports){
|
||||
|
||||
/**
|
||||
* Module dependencies.
|
||||
|
@ -24923,7 +24948,7 @@ Manager.prototype.onreconnect = function(){
|
|||
this.emitAll('reconnect', attempt);
|
||||
};
|
||||
|
||||
},{"./on":84,"./socket":85,"./url":86,"backo2":87,"component-bind":88,"component-emitter":89,"debug":90,"engine.io-client":91,"indexof":122,"object-component":123,"socket.io-parser":126}],84:[function(require,module,exports){
|
||||
},{"./on":88,"./socket":89,"./url":90,"backo2":91,"component-bind":92,"component-emitter":93,"debug":94,"engine.io-client":95,"indexof":126,"object-component":127,"socket.io-parser":130}],88:[function(require,module,exports){
|
||||
|
||||
/**
|
||||
* Module exports.
|
||||
|
@ -24949,7 +24974,7 @@ function on(obj, ev, fn) {
|
|||
};
|
||||
}
|
||||
|
||||
},{}],85:[function(require,module,exports){
|
||||
},{}],89:[function(require,module,exports){
|
||||
|
||||
/**
|
||||
* Module dependencies.
|
||||
|
@ -25336,7 +25361,7 @@ Socket.prototype.disconnect = function(){
|
|||
return this;
|
||||
};
|
||||
|
||||
},{"./on":84,"component-bind":88,"component-emitter":89,"debug":90,"has-binary":120,"socket.io-parser":126,"to-array":130}],86:[function(require,module,exports){
|
||||
},{"./on":88,"component-bind":92,"component-emitter":93,"debug":94,"has-binary":124,"socket.io-parser":130,"to-array":134}],90:[function(require,module,exports){
|
||||
(function (global){
|
||||
|
||||
/**
|
||||
|
@ -25413,7 +25438,7 @@ function url(uri, loc){
|
|||
}
|
||||
|
||||
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
||||
},{"debug":90,"parseuri":124}],87:[function(require,module,exports){
|
||||
},{"debug":94,"parseuri":128}],91:[function(require,module,exports){
|
||||
|
||||
/**
|
||||
* Expose `Backoff`.
|
||||
|
@ -25500,7 +25525,7 @@ Backoff.prototype.setJitter = function(jitter){
|
|||
};
|
||||
|
||||
|
||||
},{}],88:[function(require,module,exports){
|
||||
},{}],92:[function(require,module,exports){
|
||||
/**
|
||||
* Slice reference.
|
||||
*/
|
||||
|
@ -25525,7 +25550,7 @@ module.exports = function(obj, fn){
|
|||
}
|
||||
};
|
||||
|
||||
},{}],89:[function(require,module,exports){
|
||||
},{}],93:[function(require,module,exports){
|
||||
|
||||
/**
|
||||
* Expose `Emitter`.
|
||||
|
@ -25691,7 +25716,7 @@ Emitter.prototype.hasListeners = function(event){
|
|||
return !! this.listeners(event).length;
|
||||
};
|
||||
|
||||
},{}],90:[function(require,module,exports){
|
||||
},{}],94:[function(require,module,exports){
|
||||
|
||||
/**
|
||||
* Expose `debug()` as the module.
|
||||
|
@ -25830,11 +25855,11 @@ try {
|
|||
if (window.localStorage) debug.enable(localStorage.debug);
|
||||
} catch(e){}
|
||||
|
||||
},{}],91:[function(require,module,exports){
|
||||
},{}],95:[function(require,module,exports){
|
||||
|
||||
module.exports = require('./lib/');
|
||||
|
||||
},{"./lib/":92}],92:[function(require,module,exports){
|
||||
},{"./lib/":96}],96:[function(require,module,exports){
|
||||
|
||||
module.exports = require('./socket');
|
||||
|
||||
|
@ -25846,7 +25871,7 @@ module.exports = require('./socket');
|
|||
*/
|
||||
module.exports.parser = require('engine.io-parser');
|
||||
|
||||
},{"./socket":93,"engine.io-parser":105}],93:[function(require,module,exports){
|
||||
},{"./socket":97,"engine.io-parser":109}],97:[function(require,module,exports){
|
||||
(function (global){
|
||||
/**
|
||||
* Module dependencies.
|
||||
|
@ -26555,7 +26580,7 @@ Socket.prototype.filterUpgrades = function (upgrades) {
|
|||
};
|
||||
|
||||
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
||||
},{"./transport":94,"./transports":95,"component-emitter":89,"debug":102,"engine.io-parser":105,"indexof":122,"parsejson":116,"parseqs":117,"parseuri":118}],94:[function(require,module,exports){
|
||||
},{"./transport":98,"./transports":99,"component-emitter":93,"debug":106,"engine.io-parser":109,"indexof":126,"parsejson":120,"parseqs":121,"parseuri":122}],98:[function(require,module,exports){
|
||||
/**
|
||||
* Module dependencies.
|
||||
*/
|
||||
|
@ -26716,7 +26741,7 @@ Transport.prototype.onClose = function () {
|
|||
this.emit('close');
|
||||
};
|
||||
|
||||
},{"component-emitter":89,"engine.io-parser":105}],95:[function(require,module,exports){
|
||||
},{"component-emitter":93,"engine.io-parser":109}],99:[function(require,module,exports){
|
||||
(function (global){
|
||||
/**
|
||||
* Module dependencies
|
||||
|
@ -26773,7 +26798,7 @@ function polling(opts){
|
|||
}
|
||||
|
||||
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
||||
},{"./polling-jsonp":96,"./polling-xhr":97,"./websocket":99,"xmlhttprequest":100}],96:[function(require,module,exports){
|
||||
},{"./polling-jsonp":100,"./polling-xhr":101,"./websocket":103,"xmlhttprequest":104}],100:[function(require,module,exports){
|
||||
(function (global){
|
||||
|
||||
/**
|
||||
|
@ -27010,7 +27035,7 @@ JSONPPolling.prototype.doWrite = function (data, fn) {
|
|||
};
|
||||
|
||||
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
||||
},{"./polling":98,"component-inherit":101}],97:[function(require,module,exports){
|
||||
},{"./polling":102,"component-inherit":105}],101:[function(require,module,exports){
|
||||
(function (global){
|
||||
/**
|
||||
* Module requirements.
|
||||
|
@ -27398,7 +27423,7 @@ function unloadHandler() {
|
|||
}
|
||||
|
||||
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
||||
},{"./polling":98,"component-emitter":89,"component-inherit":101,"debug":102,"xmlhttprequest":100}],98:[function(require,module,exports){
|
||||
},{"./polling":102,"component-emitter":93,"component-inherit":105,"debug":106,"xmlhttprequest":104}],102:[function(require,module,exports){
|
||||
/**
|
||||
* Module dependencies.
|
||||
*/
|
||||
|
@ -27645,7 +27670,7 @@ Polling.prototype.uri = function(){
|
|||
return schema + '://' + this.hostname + port + this.path + query;
|
||||
};
|
||||
|
||||
},{"../transport":94,"component-inherit":101,"debug":102,"engine.io-parser":105,"parseqs":117,"xmlhttprequest":100}],99:[function(require,module,exports){
|
||||
},{"../transport":98,"component-inherit":105,"debug":106,"engine.io-parser":109,"parseqs":121,"xmlhttprequest":104}],103:[function(require,module,exports){
|
||||
/**
|
||||
* Module dependencies.
|
||||
*/
|
||||
|
@ -27885,7 +27910,7 @@ WS.prototype.check = function(){
|
|||
return !!WebSocket && !('__initialize' in WebSocket && this.name === WS.prototype.name);
|
||||
};
|
||||
|
||||
},{"../transport":94,"component-inherit":101,"debug":102,"engine.io-parser":105,"parseqs":117,"ws":119}],100:[function(require,module,exports){
|
||||
},{"../transport":98,"component-inherit":105,"debug":106,"engine.io-parser":109,"parseqs":121,"ws":123}],104:[function(require,module,exports){
|
||||
// browser shim for xmlhttprequest module
|
||||
var hasCORS = require('has-cors');
|
||||
|
||||
|
@ -27923,7 +27948,7 @@ module.exports = function(opts) {
|
|||
}
|
||||
}
|
||||
|
||||
},{"has-cors":114}],101:[function(require,module,exports){
|
||||
},{"has-cors":118}],105:[function(require,module,exports){
|
||||
|
||||
module.exports = function(a, b){
|
||||
var fn = function(){};
|
||||
|
@ -27931,7 +27956,7 @@ module.exports = function(a, b){
|
|||
a.prototype = new fn;
|
||||
a.prototype.constructor = a;
|
||||
};
|
||||
},{}],102:[function(require,module,exports){
|
||||
},{}],106:[function(require,module,exports){
|
||||
|
||||
/**
|
||||
* This is the web browser implementation of `debug()`.
|
||||
|
@ -28080,7 +28105,7 @@ function load() {
|
|||
|
||||
exports.enable(load());
|
||||
|
||||
},{"./debug":103}],103:[function(require,module,exports){
|
||||
},{"./debug":107}],107:[function(require,module,exports){
|
||||
|
||||
/**
|
||||
* This is the common logic for both the Node.js and web browser
|
||||
|
@ -28279,7 +28304,7 @@ function coerce(val) {
|
|||
return val;
|
||||
}
|
||||
|
||||
},{"ms":104}],104:[function(require,module,exports){
|
||||
},{"ms":108}],108:[function(require,module,exports){
|
||||
/**
|
||||
* Helpers.
|
||||
*/
|
||||
|
@ -28392,7 +28417,7 @@ function plural(ms, n, name) {
|
|||
return Math.ceil(ms / n) + ' ' + name + 's';
|
||||
}
|
||||
|
||||
},{}],105:[function(require,module,exports){
|
||||
},{}],109:[function(require,module,exports){
|
||||
(function (global){
|
||||
/**
|
||||
* Module dependencies.
|
||||
|
@ -28990,7 +29015,7 @@ exports.decodePayloadAsBinary = function (data, binaryType, callback) {
|
|||
};
|
||||
|
||||
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
||||
},{"./keys":106,"after":107,"arraybuffer.slice":108,"base64-arraybuffer":109,"blob":110,"has-binary":111,"utf8":113}],106:[function(require,module,exports){
|
||||
},{"./keys":110,"after":111,"arraybuffer.slice":112,"base64-arraybuffer":113,"blob":114,"has-binary":115,"utf8":117}],110:[function(require,module,exports){
|
||||
|
||||
/**
|
||||
* Gets the keys for an object.
|
||||
|
@ -29011,7 +29036,7 @@ module.exports = Object.keys || function keys (obj){
|
|||
return arr;
|
||||
};
|
||||
|
||||
},{}],107:[function(require,module,exports){
|
||||
},{}],111:[function(require,module,exports){
|
||||
module.exports = after
|
||||
|
||||
function after(count, callback, err_cb) {
|
||||
|
@ -29041,7 +29066,7 @@ function after(count, callback, err_cb) {
|
|||
|
||||
function noop() {}
|
||||
|
||||
},{}],108:[function(require,module,exports){
|
||||
},{}],112:[function(require,module,exports){
|
||||
/**
|
||||
* An abstraction for slicing an arraybuffer even when
|
||||
* ArrayBuffer.prototype.slice is not supported
|
||||
|
@ -29072,7 +29097,7 @@ module.exports = function(arraybuffer, start, end) {
|
|||
return result.buffer;
|
||||
};
|
||||
|
||||
},{}],109:[function(require,module,exports){
|
||||
},{}],113:[function(require,module,exports){
|
||||
/*
|
||||
* base64-arraybuffer
|
||||
* https://github.com/niklasvh/base64-arraybuffer
|
||||
|
@ -29133,7 +29158,7 @@ module.exports = function(arraybuffer, start, end) {
|
|||
};
|
||||
})("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/");
|
||||
|
||||
},{}],110:[function(require,module,exports){
|
||||
},{}],114:[function(require,module,exports){
|
||||
(function (global){
|
||||
/**
|
||||
* Create a blob builder even when vendor prefixes exist
|
||||
|
@ -29186,7 +29211,7 @@ module.exports = (function() {
|
|||
})();
|
||||
|
||||
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
||||
},{}],111:[function(require,module,exports){
|
||||
},{}],115:[function(require,module,exports){
|
||||
(function (global){
|
||||
|
||||
/*
|
||||
|
@ -29248,12 +29273,12 @@ function hasBinary(data) {
|
|||
}
|
||||
|
||||
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
||||
},{"isarray":112}],112:[function(require,module,exports){
|
||||
},{"isarray":116}],116:[function(require,module,exports){
|
||||
module.exports = Array.isArray || function (arr) {
|
||||
return Object.prototype.toString.call(arr) == '[object Array]';
|
||||
};
|
||||
|
||||
},{}],113:[function(require,module,exports){
|
||||
},{}],117:[function(require,module,exports){
|
||||
(function (global){
|
||||
/*! http://mths.be/utf8js v2.0.0 by @mathias */
|
||||
;(function(root) {
|
||||
|
@ -29496,7 +29521,7 @@ module.exports = Array.isArray || function (arr) {
|
|||
}(this));
|
||||
|
||||
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
||||
},{}],114:[function(require,module,exports){
|
||||
},{}],118:[function(require,module,exports){
|
||||
|
||||
/**
|
||||
* Module dependencies.
|
||||
|
@ -29521,7 +29546,7 @@ try {
|
|||
module.exports = false;
|
||||
}
|
||||
|
||||
},{"global":115}],115:[function(require,module,exports){
|
||||
},{"global":119}],119:[function(require,module,exports){
|
||||
|
||||
/**
|
||||
* Returns `this`. Execute this without a "context" (i.e. without it being
|
||||
|
@ -29531,7 +29556,7 @@ try {
|
|||
|
||||
module.exports = (function () { return this; })();
|
||||
|
||||
},{}],116:[function(require,module,exports){
|
||||
},{}],120:[function(require,module,exports){
|
||||
(function (global){
|
||||
/**
|
||||
* JSON parse.
|
||||
|
@ -29566,7 +29591,7 @@ module.exports = function parsejson(data) {
|
|||
}
|
||||
};
|
||||
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
||||
},{}],117:[function(require,module,exports){
|
||||
},{}],121:[function(require,module,exports){
|
||||
/**
|
||||
* Compiles a querystring
|
||||
* Returns string representation of the object
|
||||
|
@ -29605,7 +29630,7 @@ exports.decode = function(qs){
|
|||
return qry;
|
||||
};
|
||||
|
||||
},{}],118:[function(require,module,exports){
|
||||
},{}],122:[function(require,module,exports){
|
||||
/**
|
||||
* Parses an URI
|
||||
*
|
||||
|
@ -29646,7 +29671,7 @@ module.exports = function parseuri(str) {
|
|||
return uri;
|
||||
};
|
||||
|
||||
},{}],119:[function(require,module,exports){
|
||||
},{}],123:[function(require,module,exports){
|
||||
|
||||
/**
|
||||
* Module dependencies.
|
||||
|
@ -29691,7 +29716,7 @@ function ws(uri, protocols, opts) {
|
|||
|
||||
if (WebSocket) ws.prototype = WebSocket.prototype;
|
||||
|
||||
},{}],120:[function(require,module,exports){
|
||||
},{}],124:[function(require,module,exports){
|
||||
(function (global){
|
||||
|
||||
/*
|
||||
|
@ -29753,9 +29778,9 @@ function hasBinary(data) {
|
|||
}
|
||||
|
||||
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
||||
},{"isarray":121}],121:[function(require,module,exports){
|
||||
arguments[4][112][0].apply(exports,arguments)
|
||||
},{"dup":112}],122:[function(require,module,exports){
|
||||
},{"isarray":125}],125:[function(require,module,exports){
|
||||
arguments[4][116][0].apply(exports,arguments)
|
||||
},{"dup":116}],126:[function(require,module,exports){
|
||||
|
||||
var indexOf = [].indexOf;
|
||||
|
||||
|
@ -29766,7 +29791,7 @@ module.exports = function(arr, obj){
|
|||
}
|
||||
return -1;
|
||||
};
|
||||
},{}],123:[function(require,module,exports){
|
||||
},{}],127:[function(require,module,exports){
|
||||
|
||||
/**
|
||||
* HOP ref.
|
||||
|
@ -29851,7 +29876,7 @@ exports.length = function(obj){
|
|||
exports.isEmpty = function(obj){
|
||||
return 0 == exports.length(obj);
|
||||
};
|
||||
},{}],124:[function(require,module,exports){
|
||||
},{}],128:[function(require,module,exports){
|
||||
/**
|
||||
* Parses an URI
|
||||
*
|
||||
|
@ -29878,7 +29903,7 @@ module.exports = function parseuri(str) {
|
|||
return uri;
|
||||
};
|
||||
|
||||
},{}],125:[function(require,module,exports){
|
||||
},{}],129:[function(require,module,exports){
|
||||
(function (global){
|
||||
/*global Blob,File*/
|
||||
|
||||
|
@ -30023,7 +30048,7 @@ exports.removeBlobs = function(data, callback) {
|
|||
};
|
||||
|
||||
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
||||
},{"./is-buffer":127,"isarray":128}],126:[function(require,module,exports){
|
||||
},{"./is-buffer":131,"isarray":132}],130:[function(require,module,exports){
|
||||
|
||||
/**
|
||||
* Module dependencies.
|
||||
|
@ -30425,7 +30450,7 @@ function error(data){
|
|||
};
|
||||
}
|
||||
|
||||
},{"./binary":125,"./is-buffer":127,"component-emitter":89,"debug":90,"isarray":128,"json3":129}],127:[function(require,module,exports){
|
||||
},{"./binary":129,"./is-buffer":131,"component-emitter":93,"debug":94,"isarray":132,"json3":133}],131:[function(require,module,exports){
|
||||
(function (global){
|
||||
|
||||
module.exports = isBuf;
|
||||
|
@ -30442,9 +30467,9 @@ function isBuf(obj) {
|
|||
}
|
||||
|
||||
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
||||
},{}],128:[function(require,module,exports){
|
||||
arguments[4][112][0].apply(exports,arguments)
|
||||
},{"dup":112}],129:[function(require,module,exports){
|
||||
},{}],132:[function(require,module,exports){
|
||||
arguments[4][116][0].apply(exports,arguments)
|
||||
},{"dup":116}],133:[function(require,module,exports){
|
||||
/*! JSON v3.2.6 | http://bestiejs.github.io/json3 | Copyright 2012-2013, Kit Cambridge | http://kit.mit-license.org */
|
||||
;(function (window) {
|
||||
// Convenience aliases.
|
||||
|
@ -31307,7 +31332,7 @@ arguments[4][112][0].apply(exports,arguments)
|
|||
}
|
||||
}(this));
|
||||
|
||||
},{}],130:[function(require,module,exports){
|
||||
},{}],134:[function(require,module,exports){
|
||||
module.exports = toArray
|
||||
|
||||
function toArray(list, index) {
|
||||
|
@ -31322,14 +31347,14 @@ function toArray(list, index) {
|
|||
return array
|
||||
}
|
||||
|
||||
},{}],131:[function(require,module,exports){
|
||||
},{}],135:[function(require,module,exports){
|
||||
var MediaStreamType = {
|
||||
VIDEO_TYPE: "Video",
|
||||
|
||||
AUDIO_TYPE: "Audio"
|
||||
};
|
||||
module.exports = MediaStreamType;
|
||||
},{}],132:[function(require,module,exports){
|
||||
},{}],136:[function(require,module,exports){
|
||||
var RTCEvents = {
|
||||
RTC_READY: "rtc.ready",
|
||||
DATA_CHANNEL_OPEN: "rtc.data_channel_open",
|
||||
|
@ -31341,7 +31366,7 @@ var RTCEvents = {
|
|||
};
|
||||
|
||||
module.exports = RTCEvents;
|
||||
},{}],133:[function(require,module,exports){
|
||||
},{}],137:[function(require,module,exports){
|
||||
var Resolutions = {
|
||||
"1080": {
|
||||
width: 1920,
|
||||
|
@ -31395,7 +31420,7 @@ var Resolutions = {
|
|||
}
|
||||
};
|
||||
module.exports = Resolutions;
|
||||
},{}],134:[function(require,module,exports){
|
||||
},{}],138:[function(require,module,exports){
|
||||
var AuthenticationEvents = {
|
||||
/**
|
||||
* Event callback arguments:
|
||||
|
@ -31409,7 +31434,7 @@ var AuthenticationEvents = {
|
|||
};
|
||||
module.exports = AuthenticationEvents;
|
||||
|
||||
},{}],135:[function(require,module,exports){
|
||||
},{}],139:[function(require,module,exports){
|
||||
var DesktopSharingEventTypes = {
|
||||
/**
|
||||
* An event which indicates that the jidesha extension for Firefox is
|
||||
|
@ -31420,7 +31445,7 @@ var DesktopSharingEventTypes = {
|
|||
|
||||
module.exports = DesktopSharingEventTypes;
|
||||
|
||||
},{}],136:[function(require,module,exports){
|
||||
},{}],140:[function(require,module,exports){
|
||||
module.exports = {
|
||||
/**
|
||||
* An event carrying connection statistics.
|
||||
|
@ -31436,12 +31461,12 @@ module.exports = {
|
|||
STOP: "statistics.stop"
|
||||
};
|
||||
|
||||
},{}],137:[function(require,module,exports){
|
||||
},{}],141:[function(require,module,exports){
|
||||
var Constants = {
|
||||
LOCAL_JID: 'local'
|
||||
};
|
||||
module.exports = Constants;
|
||||
},{}],138:[function(require,module,exports){
|
||||
},{}],142:[function(require,module,exports){
|
||||
var XMPPEvents = {
|
||||
// Designates an event indicating that the connection to the XMPP server
|
||||
// failed.
|
||||
|
|
|
@ -32,7 +32,7 @@ function getCommand(message) {
|
|||
*/
|
||||
function processTopic(commandArguments, emitter) {
|
||||
var topic = UIUtil.escapeHtml(commandArguments);
|
||||
emitter.emit(UIEvents.TOPIC_CHANGED, topic);
|
||||
emitter.emit(UIEvents.SUBJECT_CHANGED, topic);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -40,5 +40,6 @@ export default {
|
|||
HANGUP: "UI.hangup",
|
||||
LOGOUT: "UI.logout",
|
||||
RECORDING_TOGGLE: "UI.recording_toggle",
|
||||
TOPIC_CHANGED: "UI.topic_changed"
|
||||
SIP_DIAL: "UI.sip_dial",
|
||||
SUBEJCT_CHANGED: "UI.subject_changed"
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue