You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it would be useful if you could expose .is_owner flag in the /presence API endpoint for each participant. We would like to easily see if there are any 'meeting owners' in a current call, but seems like it is not possible right now?
The text was updated successfully, but these errors were encountered:
I'm not sure if this is what you are looking for, but there IS an owner field on each participant returned by participants(), so you could do the following to determine if an owner is in the call:
let ownerExists = Object.values(callObject.participants()).filter((p)=>p.owner).length > 0
thank you, I am aware of that. I would clarify: we need this functionality on the backend side of things, we need to know if there are any owners in the room (by polling /presence every minute to detect that, which drives some business logic)
it would be useful if you could expose .is_owner flag in the /presence API endpoint for each participant. We would like to easily see if there are any 'meeting owners' in a current call, but seems like it is not possible right now?
The text was updated successfully, but these errors were encountered: