livekit-server-sdk-python icon indicating copy to clipboard operation
livekit-server-sdk-python copied to clipboard

Missing attributes on VideoGrant

Open huynguyen-ff opened this issue 2 years ago • 1 comments

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 avatar Sep 13 '23 16:09 huynguyen-ff

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

huynguyen-ff avatar Sep 13 '23 18:09 huynguyen-ff