livekit / python-sdks

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

Introduce Agents #76

Closed keepingitneil closed 9 months ago

keepingitneil commented 9 months ago

Agents are loosely defined as server-side participants that consume, process, and/or produce Track data.

This PR introduces the Agent class which is a convenience layer on top of LocalParticipants and Rooms that handles boilerplate for track subscription, participant updates, and more.

Conceptually it is similar to the components-js layer on top of LiveKit's base Javascript client SDK.

keepingitneil commented 9 months ago

Closing, offline discussion led to putting this in its own repo