chore: upgrade pipecat (#36)

This commit is contained in:
Abhishek 2025-11-01 11:58:11 +05:30 committed by GitHub
parent e690753275
commit 491e6edd36
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 46 additions and 25 deletions

View file

@ -23,8 +23,7 @@ from pipecat.frames.frames import (
from pipecat.serializers.base_serializer import FrameSerializer
from pipecat.transports.base_input import BaseInputTransport
from pipecat.transports.base_output import (
BaseOutputTransport,
TransportClientNotConnectedException,
BaseOutputTransport
)
from pipecat.transports.base_transport import BaseTransport, TransportParams
@ -204,7 +203,7 @@ class StasisRTPOutputTransport(BaseOutputTransport):
async def write_audio_frame(self, frame: OutputAudioRawFrame):
"""Write audio frame to RTP stream."""
if self._client.is_closing:
raise TransportClientNotConnectedException()
return False
if not self._client.is_connected:
# If not connected yet, just simulate playback delay.