Merge pull request #2246 from ydlamba/ydlamba/missing-livekit-event

fix(livekit): emit on_audio_track_subscribed event
This commit is contained in:
Mark Backman
2025-07-23 11:27:10 -07:00
committed by GitHub
2 changed files with 3 additions and 0 deletions

View File

@@ -68,6 +68,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
it was only meant to do that when there were no "regular" (non-function-call)
messages in the context, to ensure that inference would run properly.
- Fixed an issue in `LiveKitTransport` where the `on_audio_track_subscribed` was never emitted.
## [0.0.76] - 2025-07-11
### Added

View File

@@ -439,6 +439,7 @@ class LiveKitTransportClient:
self._process_audio_stream(audio_stream, participant.sid),
f"{self}::_process_audio_stream",
)
await self._callbacks.on_audio_track_subscribed(participant.sid)
async def _async_on_track_unsubscribed(
self,