This message was deleted.
# helpdesk
s
This message was deleted.
b
You could probably get a server SDK to add participant MetaData onConnect
Actually you could add a parameter in the metadata on the token creation, then check upon that value on the client side to show the screenshare button.
g
Yes this was our first design! We refactored it to not store the permissions on the metadata, because when calling UpdateParticipant (server-sdk) we also had to update the metadata. Also became the case that we were sometimes looking up the permissions on the metadata and sometimes on the Participant.permissions obj, so kinda became a mess. But we’ll reconsider it, maybe only for the roomAdmin. Thanks for your fast response sir! 🙂