|
@@ -75,6 +75,10 @@ function init() {
|
75
|
75
|
var isUIReady = APP.UI.start();
|
76
|
76
|
if (isUIReady) {
|
77
|
77
|
APP.conference.init({roomName: buildRoomName()}).then(function () {
|
|
78
|
+ // init desktop before UI, in order to make sure
|
|
79
|
+ // autoEnableDesktopSharing works
|
|
80
|
+ APP.desktopsharing.init(JitsiMeetJS.isDesktopSharingEnabled());
|
|
81
|
+
|
78
|
82
|
APP.UI.initConference();
|
79
|
83
|
|
80
|
84
|
APP.UI.addListener(UIEvents.LANG_CHANGED, function (language) {
|
|
@@ -82,7 +86,6 @@ function init() {
|
82
|
86
|
APP.settings.setLanguage(language);
|
83
|
87
|
});
|
84
|
88
|
|
85
|
|
- APP.desktopsharing.init(JitsiMeetJS.isDesktopSharingEnabled());
|
86
|
89
|
APP.keyboardshortcut.init();
|
87
|
90
|
}).catch(function (err) {
|
88
|
91
|
console.error(err);
|