From 0e6874b605955bf3f68c2a0b0cbf2a1132908730 Mon Sep 17 00:00:00 2001 From: Yash Dev Lamba Date: Wed, 23 Jul 2025 08:23:45 +0530 Subject: [PATCH 1/2] fix(livekit): emit on_audio_track_subscribed event --- src/pipecat/transports/services/livekit.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pipecat/transports/services/livekit.py b/src/pipecat/transports/services/livekit.py index 68fc6a8a8..37d08b02d 100644 --- a/src/pipecat/transports/services/livekit.py +++ b/src/pipecat/transports/services/livekit.py @@ -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, From 960bc9df5bfe80d2a81195ef60c8514d728363d3 Mon Sep 17 00:00:00 2001 From: Yash Dev Lamba Date: Wed, 23 Jul 2025 22:41:20 +0530 Subject: [PATCH 2/2] chore(changelog): add entry for LiveKitTransport audio subscribed event fix --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index dcdab5793..2756ace44 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -53,6 +53,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