livekit / python-sdks

LiveKit real-time and server SDKs for Python
https://docs.livekit.io
Apache License 2.0
95 stars 33 forks source link

fix: keep events order #60

Closed theomonnom closed 12 months ago

theomonnom commented 12 months ago

The room musts be used inside one event_loop (specified inside the ctor) AudioStream & VideoStream can be used on other event_loops (making it easy to have another IO thread for e.g)

theomonnom commented 12 months ago

it's tricky, now with the changes, we can't publish tracks before running room.run() ...