Skip to content

Commit

Permalink
remove _internal_push_frame from LiveKitInputTransport
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimchauvet committed Sep 24, 2024
1 parent b6e1d6e commit ec5998b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pipecat/transports/services/livekit.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ def vad_analyzer(self) -> VADAnalyzer | None:

async def push_app_message(self, message: Any, sender: str):
frame = LiveKitTransportMessageFrame(message=message, participant_id=sender)
await self._internal_push_frame(frame)
await self.push_frame(frame)

async def _audio_in_task_handler(self):
logger.info("Audio input task started")
Expand All @@ -337,7 +337,7 @@ async def _audio_in_task_handler(self):
audio_frame_event, participant_id = audio_data
pipecat_audio_frame = self._convert_livekit_audio_to_pipecat(audio_frame_event)
await self.push_audio_frame(pipecat_audio_frame)
await self._internal_push_frame(
await self.push_frame(
pipecat_audio_frame
) # TODO: ensure audio frames are pushed with the default BaseInputTransport.push_audio_frame()
except asyncio.CancelledError:
Expand Down

0 comments on commit ec5998b

Please sign in to comment.