livekit-plugins-speechmatics 1.0.20__py3-none-any.whl → 1.0.22__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.
- livekit/plugins/speechmatics/stt.py +3 -1
- livekit/plugins/speechmatics/version.py +1 -1
- {livekit_plugins_speechmatics-1.0.20.dist-info → livekit_plugins_speechmatics-1.0.22.dist-info}/METADATA +2 -2
- {livekit_plugins_speechmatics-1.0.20.dist-info → livekit_plugins_speechmatics-1.0.22.dist-info}/RECORD +5 -5
- {livekit_plugins_speechmatics-1.0.20.dist-info → livekit_plugins_speechmatics-1.0.22.dist-info}/WHEEL +0 -0
@@ -216,11 +216,12 @@ class SpeechStream(stt.SpeechStream):
|
|
216
216
|
asyncio.create_task(send_task(ws)),
|
217
217
|
asyncio.create_task(recv_task(ws)),
|
218
218
|
]
|
219
|
+
tasks_group = asyncio.gather(*tasks)
|
219
220
|
wait_reconnect_task = asyncio.create_task(self._reconnect_event.wait())
|
220
221
|
|
221
222
|
try:
|
222
223
|
done, _ = await asyncio.wait(
|
223
|
-
[
|
224
|
+
[tasks_group, wait_reconnect_task],
|
224
225
|
return_when=asyncio.FIRST_COMPLETED,
|
225
226
|
) # type: ignore
|
226
227
|
for task in done:
|
@@ -233,6 +234,7 @@ class SpeechStream(stt.SpeechStream):
|
|
233
234
|
self._reconnect_event.clear()
|
234
235
|
finally:
|
235
236
|
await utils.aio.gracefully_cancel(*tasks, wait_reconnect_task)
|
237
|
+
await tasks_group
|
236
238
|
finally:
|
237
239
|
if ws is not None:
|
238
240
|
await ws.close()
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: livekit-plugins-speechmatics
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.22
|
4
4
|
Summary: Agent Framework plugin for Speechmatics
|
5
5
|
Project-URL: Documentation, https://docs.livekit.io
|
6
6
|
Project-URL: Website, https://livekit.io/
|
@@ -18,7 +18,7 @@ Classifier: Topic :: Multimedia :: Sound/Audio
|
|
18
18
|
Classifier: Topic :: Multimedia :: Video
|
19
19
|
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
20
20
|
Requires-Python: >=3.9.0
|
21
|
-
Requires-Dist: livekit-agents>=1.0.
|
21
|
+
Requires-Dist: livekit-agents>=1.0.22
|
22
22
|
Description-Content-Type: text/markdown
|
23
23
|
|
24
24
|
# Speechmatics STT plugin for LiveKit Agents
|
@@ -1,10 +1,10 @@
|
|
1
1
|
livekit/plugins/speechmatics/__init__.py,sha256=mHlhJcJJc0aIhQxHx6fUJC9epfGjw1E8b-FdR0eUzMQ,1228
|
2
2
|
livekit/plugins/speechmatics/log.py,sha256=O1iyAF7cHUu_iMXh6l7KRwwWeDB5QyABI_qzAb0cs04,75
|
3
3
|
livekit/plugins/speechmatics/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
|
-
livekit/plugins/speechmatics/stt.py,sha256=
|
4
|
+
livekit/plugins/speechmatics/stt.py,sha256=NrK3cljwbx5dEgslepG3ROszvok-hZadanNHRNo7oFk,11775
|
5
5
|
livekit/plugins/speechmatics/types.py,sha256=LG9ZL_r9f0LMmKPaWqCNzOU6wQJmXp8w7S23xuQaHO8,4829
|
6
6
|
livekit/plugins/speechmatics/utils.py,sha256=9pbI8yrB8e06WY4NOH_RaoTSmY6JJc-P12-Sm8pW51U,1867
|
7
|
-
livekit/plugins/speechmatics/version.py,sha256=
|
8
|
-
livekit_plugins_speechmatics-1.0.
|
9
|
-
livekit_plugins_speechmatics-1.0.
|
10
|
-
livekit_plugins_speechmatics-1.0.
|
7
|
+
livekit/plugins/speechmatics/version.py,sha256=fFh0krgNqxKvDz0uOvDLACfvE24LL65uGmzGKWgu_wM,601
|
8
|
+
livekit_plugins_speechmatics-1.0.22.dist-info/METADATA,sha256=PlcpdFH1pVDbxbkF90zVEdJQdLqyTiELRFXRJBEQXT0,2051
|
9
|
+
livekit_plugins_speechmatics-1.0.22.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
10
|
+
livekit_plugins_speechmatics-1.0.22.dist-info/RECORD,,
|
File without changes
|