|
|
@ -624,10 +624,16 @@ export default { |
|
|
|
_setupListeners () { |
|
|
|
_setupListeners () { |
|
|
|
// add local streams when joined to the conference
|
|
|
|
// add local streams when joined to the conference
|
|
|
|
room.on(ConferenceEvents.CONFERENCE_JOINED, () => { |
|
|
|
room.on(ConferenceEvents.CONFERENCE_JOINED, () => { |
|
|
|
APP.UI.updateAuthInfo(room.isAuthEnabled(), room.getAuthLogin()); |
|
|
|
|
|
|
|
APP.UI.mucJoined(); |
|
|
|
APP.UI.mucJoined(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
room.on( |
|
|
|
|
|
|
|
ConferenceEvents.AUTH_STATUS_CHANGED, |
|
|
|
|
|
|
|
function (authEnabled, authLogin) { |
|
|
|
|
|
|
|
APP.UI.updateAuthInfo(authEnabled, authLogin); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
room.on(ConferenceEvents.USER_JOINED, (id, user) => { |
|
|
|
room.on(ConferenceEvents.USER_JOINED, (id, user) => { |
|
|
|
console.log('USER %s connnected', id, user); |
|
|
|
console.log('USER %s connnected', id, user); |
|
|
|