|
|
|
|
42
|
// It support alls jitsi-meet features.
|
42
|
// It support alls jitsi-meet features.
|
43
|
// About support for "private (1-to-1) text message into room", check this :
|
43
|
// About support for "private (1-to-1) text message into room", check this :
|
44
|
// https://github.com/jitsi/lib-jitsi-meet/pull/616
|
44
|
// https://github.com/jitsi/lib-jitsi-meet/pull/616
|
45
|
- var domain = '${jitsi_meet_room.domain}';
|
|
|
46
|
- var options = {
|
|
|
|
|
45
|
+ let domain = '${jitsi_meet_room.domain}';
|
|
|
46
|
+ let options = {
|
47
|
// jitsi-meet support now(10-2017) only one way to auto-auth, token,
|
47
|
// jitsi-meet support now(10-2017) only one way to auto-auth, token,
|
48
|
// which is anonymous BOSH auth with specific url (with token value in params of the url).
|
48
|
// which is anonymous BOSH auth with specific url (with token value in params of the url).
|
49
|
%if jitsi_meet_room.use_token:
|
49
|
%if jitsi_meet_room.use_token:
|
|
|
|
|
51
|
%endif
|
51
|
%endif
|
52
|
roomName : '${jitsi_meet_room.room}',
|
52
|
roomName : '${jitsi_meet_room.room}',
|
53
|
parentNode: document.querySelector('#jitsi'),
|
53
|
parentNode: document.querySelector('#jitsi'),
|
54
|
- // has external API use iframe, height is a problem
|
|
|
|
|
54
|
+ // has external API use iframe, height is a problem
|
55
|
height: 700,
|
55
|
height: 700,
|
56
|
no_SSL: true,
|
56
|
no_SSL: true,
|
57
|
configOverwrite: {
|
57
|
configOverwrite: {
|
|
|
|
|
82
|
}
|
82
|
}
|
83
|
|
83
|
|
84
|
};
|
84
|
};
|
85
|
- var api = new JitsiMeetExternalAPI(domain, options);
|
|
|
|
|
85
|
+ let api = new JitsiMeetExternalAPI(domain, options);
|
86
|
// Display name in jitsi-meet use XEP-0172 for MUC, which is discouraged,
|
86
|
// Display name in jitsi-meet use XEP-0172 for MUC, which is discouraged,
|
87
|
// when others clients use resource part of the Jabber id to do it.
|
87
|
// when others clients use resource part of the Jabber id to do it.
|
88
|
// That's why displayName compat with others XMPP client is not optimal.
|
88
|
// That's why displayName compat with others XMPP client is not optimal.
|