livekit / livekit-server-sdk-python

LiveKit Server SDK for Python
Apache License 2.0
25 stars 6 forks source link

Missing attributes on VideoGrant #9

Open huynguyen-ff opened 1 year ago

huynguyen-ff commented 1 year ago

Hi, thanks for building this SDK. 💯 My problem is that I want to create a camera-only token and send back to client, in the doc I have read that we can use the attribute canPublishSources, I found it in the NodeJS package but for our python we don't have that. Am I missing something ?

image image
huynguyen-ff commented 1 year ago

I have created a quick PR fix for that, please help me to verify that. Thank you. https://github.com/livekit/livekit-server-sdk-python/pull/10