Hello,
the function getRoomsInfo don’t return avatarURL of all participants.(some are missing)
the function api.getParticipantsInfo() don’t have that problem.
why?
Hello,
the function getRoomsInfo don’t return avatarURL of all participants.(some are missing)
the function api.getParticipantsInfo() don’t have that problem.
why?
When are you expecting those? Wonder is it timing where you call it and the info is still not propagated or there is a bug? What if you execute it few seconds later, is the info there then?
I called in “videoConferenceJoined” event, see code below:
api.addEventListener(‘videoConferenceJoined’, async (obj) => {
var delay = 0; //
setTimeout(function(api){
console.log(api.getParticipantsInfo());
api.getRoomsInfo().then(rooms => {
console.log(rooms);
});
}, delay,api);
}
Also, there is participant obj which don’t have the jid property defined.
delay a few seconds seems can fix the problem but why getParticipantsInfo don’t the this problem?