🔧(backend) set explicit user subscription permissions for other tracks

Configure LiveKit token to explicitly allow users to subscribe to other
participants' video and audio tracks instead of relying on default
permissions.
This commit is contained in:
lebaudantoine
2025-09-08 17:07:36 +02:00
committed by aleb_the_flash
parent 5f75b085ec
commit 58722cab00

View File

@@ -90,6 +90,7 @@ def generate_token(
can_update_own_metadata=True,
can_publish=bool(sources),
can_publish_sources=sources,
can_subscribe=True,
)
if user.is_anonymous: