mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-16 08:25:18 +02:00
chore: upgrade pipecat (#36)
This commit is contained in:
parent
e690753275
commit
491e6edd36
3 changed files with 46 additions and 25 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue