This message was deleted.
# helpdesk
s
This message was deleted.
r
It seems to work when the token generation is made via the api key and secret but if I provide a generated string token doesn't work
Well, it seems that the token needs to have the video grant of canSubscribe, I am not sure why, it only publishes video. If someone has some explanation it would be nice 🙂
l
By default when calling
rtc.Room.connect
, the participant (correct me if I'm using this wrong) will attempt to subscribe to all published tracks in the room. This behavior can be turned off with the
auto_subscribe
option. Check out this snippet that I use to connect to rooms with the python sdk:
Copy code
room = rtc.Room()
options = rtc.RoomOptions(auto_subscribe=False)
await room.connect(LIVEKIT_URL, TOKEN, options)
👍 1
d
Ah @rich-needle-11959 I think that's a bug with the Python SDK. we should not need to wait for subscriber connection to establish if the client doesn't have subscribe permissions. For now your workaround makes sense. We'll have to track down publish-only mode. CC: @boundless-energy-78552
🙌 1
r
👍