Creates first the container before setting avatar, cause the avatar set will check the large video container type and type may be missing. Fixes error 'container of type undefined doesn't exist':
> at LargeVideoManager.getContainer > at LargeVideoManager.get > at Object.isCurrentlyOnLarge > at Object.changeUserAvatar > at Object.UI.setUserAvatar > at Object.UI.addUser
This commit is contained in:
+3
-3
@@ -490,11 +490,11 @@ UI.addUser = function (id, displayName) {
|
||||
config.startAudioMuted > APP.conference.membersCount)
|
||||
UIUtil.playSoundNotification('userJoined');
|
||||
|
||||
// Configure avatar
|
||||
UI.setUserAvatar(id);
|
||||
|
||||
// Add Peer's container
|
||||
VideoLayout.addParticipantContainer(id);
|
||||
|
||||
// Configure avatar
|
||||
UI.setUserAvatar(id);
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user