dv-pipecat-ai 0.0.82.dev60__py3-none-any.whl → 0.0.82.dev62__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of dv-pipecat-ai might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dv-pipecat-ai
3
- Version: 0.0.82.dev60
3
+ Version: 0.0.82.dev62
4
4
  Summary: An open source framework for voice (and multimodal) assistants
5
5
  License-Expression: BSD-2-Clause
6
6
  Project-URL: Source, https://github.com/pipecat-ai/pipecat
@@ -1,4 +1,4 @@
1
- dv_pipecat_ai-0.0.82.dev60.dist-info/licenses/LICENSE,sha256=DWY2QGf2eMCFhuu2ChairtT6CB7BEFffNVhXWc4Od08,1301
1
+ dv_pipecat_ai-0.0.82.dev62.dist-info/licenses/LICENSE,sha256=DWY2QGf2eMCFhuu2ChairtT6CB7BEFffNVhXWc4Od08,1301
2
2
  pipecat/__init__.py,sha256=j0Xm6adxHhd7D06dIyyPV_GlBYLlBnTAERVvD_jAARQ,861
3
3
  pipecat/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  pipecat/adapters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -150,7 +150,7 @@ pipecat/serializers/__init__.py,sha256=xcmbbR7YYU5C4HPbo2WVgPij-Bl_qlrLcnunCdpcZ
150
150
  pipecat/serializers/asterisk.py,sha256=bPuGuLiCf04_H0d9Gc-5BpEtqD9BRNWnpZZq5MZ1fDY,6091
151
151
  pipecat/serializers/base_serializer.py,sha256=OyBUZccs2ZT9mfkBbq2tGsUJMvci6o-j90Cl1sicPaI,2030
152
152
  pipecat/serializers/convox.py,sha256=Irby_iZywgBtevlxiC8nE2GY3eh4yNNRi2YC-0vnNTY,11155
153
- pipecat/serializers/custom.py,sha256=989fmUF92vppUi3ewiZOzP3FYtmMMJTtm3zyUSZEHqY,9122
153
+ pipecat/serializers/custom.py,sha256=zoQqdwEQn_DX2sCA0EXYpi5Ly0T_6n0m5blaULep6r8,9268
154
154
  pipecat/serializers/exotel.py,sha256=U08EQeRzfW6O2P5mKeCjTy1Ur9KoTjVty3MehmVBEC0,5939
155
155
  pipecat/serializers/livekit.py,sha256=caVZlVJGV-SmEXE_H7i3DRo1RvC9FgGCVqi8IYGrpEo,2552
156
156
  pipecat/serializers/plivo.py,sha256=9hJ8gvkVp1_sFx30ELWMJPMQQskwLKWsD49DALzAsRA,9410
@@ -377,7 +377,7 @@ pipecat/utils/tracing/service_decorators.py,sha256=HwDCqLGijhYD3F8nxDuQmEw-YkRw0
377
377
  pipecat/utils/tracing/setup.py,sha256=7TEgPNpq6M8lww8OQvf0P9FzYc5A30xICGklVA-fua0,2892
378
378
  pipecat/utils/tracing/turn_context_provider.py,sha256=ikon3plFOx0XbMrH6DdeHttNpb-U0gzMZIm3bWLc9eI,2485
379
379
  pipecat/utils/tracing/turn_trace_observer.py,sha256=dma16SBJpYSOE58YDWy89QzHyQFc_9gQZszKeWixuwc,9725
380
- dv_pipecat_ai-0.0.82.dev60.dist-info/METADATA,sha256=NQTL4VB1qFKpwKp0WFbTAmQbm52L3JX_eFmWOtsCdkU,32638
381
- dv_pipecat_ai-0.0.82.dev60.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
382
- dv_pipecat_ai-0.0.82.dev60.dist-info/top_level.txt,sha256=kQzG20CxGf-nSsHmtXHx3hY2-8zHA3jYg8jk0TajqXc,8
383
- dv_pipecat_ai-0.0.82.dev60.dist-info/RECORD,,
380
+ dv_pipecat_ai-0.0.82.dev62.dist-info/METADATA,sha256=VWvXpWoDQRdJ7ofIc2CUNZlzvkRbXycp3EaMkn5AS4w,32638
381
+ dv_pipecat_ai-0.0.82.dev62.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
382
+ dv_pipecat_ai-0.0.82.dev62.dist-info/top_level.txt,sha256=kQzG20CxGf-nSsHmtXHx3hY2-8zHA3jYg8jk0TajqXc,8
383
+ dv_pipecat_ai-0.0.82.dev62.dist-info/RECORD,,
@@ -8,6 +8,7 @@
8
8
 
9
9
  import base64
10
10
  import json
11
+ import uuid
11
12
  from typing import Optional
12
13
 
13
14
  from loguru import logger
@@ -32,7 +33,6 @@ from pipecat.frames.frames import (
32
33
  TransportMessageFrame,
33
34
  TransportMessageUrgentFrame,
34
35
  )
35
-
36
36
  from pipecat.serializers.base_serializer import FrameSerializer, FrameSerializerType
37
37
 
38
38
 
@@ -165,12 +165,14 @@ class CustomFrameSerializer(FrameSerializer):
165
165
  return None
166
166
 
167
167
  payload = base64.b64encode(serialized_data).decode("ascii")
168
-
168
+ frame_uuid = str(uuid.uuid4())
169
169
  answer = {
170
170
  "event": "media",
171
171
  "stream_sid": self._stream_sid,
172
172
  "media": {"payload": payload},
173
+ "uuid": frame_uuid,
173
174
  }
175
+ logger.debug(f"Sending media: {frame_uuid}")
174
176
 
175
177
  return json.dumps(answer)
176
178