dv-pipecat-ai 0.0.82.dev60__py3-none-any.whl → 0.0.82.dev61__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.
- {dv_pipecat_ai-0.0.82.dev60.dist-info → dv_pipecat_ai-0.0.82.dev61.dist-info}/METADATA +1 -1
- {dv_pipecat_ai-0.0.82.dev60.dist-info → dv_pipecat_ai-0.0.82.dev61.dist-info}/RECORD +6 -6
- pipecat/serializers/custom.py +4 -2
- {dv_pipecat_ai-0.0.82.dev60.dist-info → dv_pipecat_ai-0.0.82.dev61.dist-info}/WHEEL +0 -0
- {dv_pipecat_ai-0.0.82.dev60.dist-info → dv_pipecat_ai-0.0.82.dev61.dist-info}/licenses/LICENSE +0 -0
- {dv_pipecat_ai-0.0.82.dev60.dist-info → dv_pipecat_ai-0.0.82.dev61.dist-info}/top_level.txt +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
dv_pipecat_ai-0.0.82.
|
|
1
|
+
dv_pipecat_ai-0.0.82.dev61.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=
|
|
153
|
+
pipecat/serializers/custom.py,sha256=4askZg5E9UIgJ8dz4bBGQ2t2WsnZST0tsuZcLgcmjhI,9263
|
|
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.
|
|
381
|
-
dv_pipecat_ai-0.0.82.
|
|
382
|
-
dv_pipecat_ai-0.0.82.
|
|
383
|
-
dv_pipecat_ai-0.0.82.
|
|
380
|
+
dv_pipecat_ai-0.0.82.dev61.dist-info/METADATA,sha256=p-7FXjhZWMMLbzhN87qtv-tbc1kPRwdY8hFCJJcY8dk,32638
|
|
381
|
+
dv_pipecat_ai-0.0.82.dev61.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
382
|
+
dv_pipecat_ai-0.0.82.dev61.dist-info/top_level.txt,sha256=kQzG20CxGf-nSsHmtXHx3hY2-8zHA3jYg8jk0TajqXc,8
|
|
383
|
+
dv_pipecat_ai-0.0.82.dev61.dist-info/RECORD,,
|
pipecat/serializers/custom.py
CHANGED
|
@@ -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 = 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
|
|
|
File without changes
|
{dv_pipecat_ai-0.0.82.dev60.dist-info → dv_pipecat_ai-0.0.82.dev61.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|