|
|
@@ -175,8 +175,8 @@ function registerListeners() {
|
|
175
|
175
|
// selections so that it can do adaptive simulcast,
|
|
176
|
176
|
// we want the notification to trigger even if userJid is undefined,
|
|
177
|
177
|
// or null.
|
|
178
|
|
- var userJid = APP.UI.getLargeVideoJid();
|
|
179
|
|
- eventEmitter.emit(UIEvents.SELECTED_ENDPOINT, userJid);
|
|
|
178
|
+ var userResource = APP.UI.getLargeVideoResource();
|
|
|
179
|
+ eventEmitter.emit(UIEvents.SELECTED_ENDPOINT, userResource);
|
|
180
|
180
|
});
|
|
181
|
181
|
APP.statistics.addAudioLevelListener(function(jid, audioLevel) {
|
|
182
|
182
|
var resourceJid;
|
|
|
@@ -190,7 +190,7 @@ function registerListeners() {
|
|
190
|
190
|
}
|
|
191
|
191
|
|
|
192
|
192
|
AudioLevels.updateAudioLevel(resourceJid, audioLevel,
|
|
193
|
|
- UI.getLargeVideoJid());
|
|
|
193
|
+ UI.getLargeVideoResource());
|
|
194
|
194
|
});
|
|
195
|
195
|
APP.desktopsharing.addListener(function () {
|
|
196
|
196
|
ToolbarToggler.showDesktopSharingButton();
|
|
|
@@ -677,8 +677,8 @@ UI.inputDisplayNameHandler = function (value) {
|
|
677
|
677
|
VideoLayout.inputDisplayNameHandler(value);
|
|
678
|
678
|
};
|
|
679
|
679
|
|
|
680
|
|
-UI.getLargeVideoJid = function() {
|
|
681
|
|
- return VideoLayout.getLargeVideoJid();
|
|
|
680
|
+UI.getLargeVideoResource = function () {
|
|
|
681
|
+ return VideoLayout.getLargeVideoResource();
|
|
682
|
682
|
};
|
|
683
|
683
|
|
|
684
|
684
|
UI.generateRoomName = function() {
|