feat: enable data publishing permission and enrich participant data with user profiles

This commit is contained in:
fabio
2026-10-08 13:05:03 +02:00
parent 7155b81116
commit 8e91572ec9
3 changed files with 43 additions and 8 deletions

View File

@@ -135,7 +135,7 @@ func signJoinToken(key, secret, identity, room string, owner bool) (string, erro
grant := &lkauth.VideoGrant{RoomJoin: true, Room: room}
grant.SetCanPublish(owner)
grant.SetCanSubscribe(true)
grant.SetCanPublishData(false)
grant.SetCanPublishData(true)
grant.SetCanUpdateOwnMetadata(false)
return lkauth.NewAccessToken(key, secret).
SetIdentity(identity).