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:
parent
9e7275acfb
commit
d82d4cbed9
|
@ -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);
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue