livekit-plugins-azure 0.3.0.dev2__tar.gz → 0.3.1__tar.gz

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.
Files changed (16) hide show
  1. {livekit_plugins_azure-0.3.0.dev2 → livekit_plugins_azure-0.3.1}/PKG-INFO +2 -2
  2. {livekit_plugins_azure-0.3.0.dev2 → livekit_plugins_azure-0.3.1}/livekit/plugins/azure/stt.py +3 -1
  3. {livekit_plugins_azure-0.3.0.dev2 → livekit_plugins_azure-0.3.1}/livekit/plugins/azure/version.py +1 -1
  4. {livekit_plugins_azure-0.3.0.dev2 → livekit_plugins_azure-0.3.1}/livekit_plugins_azure.egg-info/PKG-INFO +2 -2
  5. {livekit_plugins_azure-0.3.0.dev2 → livekit_plugins_azure-0.3.1}/livekit_plugins_azure.egg-info/requires.txt +1 -1
  6. {livekit_plugins_azure-0.3.0.dev2 → livekit_plugins_azure-0.3.1}/setup.py +1 -1
  7. {livekit_plugins_azure-0.3.0.dev2 → livekit_plugins_azure-0.3.1}/README.md +0 -0
  8. {livekit_plugins_azure-0.3.0.dev2 → livekit_plugins_azure-0.3.1}/livekit/plugins/azure/__init__.py +0 -0
  9. {livekit_plugins_azure-0.3.0.dev2 → livekit_plugins_azure-0.3.1}/livekit/plugins/azure/log.py +0 -0
  10. {livekit_plugins_azure-0.3.0.dev2 → livekit_plugins_azure-0.3.1}/livekit/plugins/azure/py.typed +0 -0
  11. {livekit_plugins_azure-0.3.0.dev2 → livekit_plugins_azure-0.3.1}/livekit/plugins/azure/tts.py +0 -0
  12. {livekit_plugins_azure-0.3.0.dev2 → livekit_plugins_azure-0.3.1}/livekit_plugins_azure.egg-info/SOURCES.txt +0 -0
  13. {livekit_plugins_azure-0.3.0.dev2 → livekit_plugins_azure-0.3.1}/livekit_plugins_azure.egg-info/dependency_links.txt +0 -0
  14. {livekit_plugins_azure-0.3.0.dev2 → livekit_plugins_azure-0.3.1}/livekit_plugins_azure.egg-info/top_level.txt +0 -0
  15. {livekit_plugins_azure-0.3.0.dev2 → livekit_plugins_azure-0.3.1}/pyproject.toml +0 -0
  16. {livekit_plugins_azure-0.3.0.dev2 → livekit_plugins_azure-0.3.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: livekit-plugins-azure
3
- Version: 0.3.0.dev2
3
+ Version: 0.3.1
4
4
  Summary: Agent Framework plugin for services from Azure
5
5
  Home-page: https://github.com/livekit/agents
6
6
  License: Apache-2.0
@@ -19,7 +19,7 @@ Classifier: Programming Language :: Python :: 3.10
19
19
  Classifier: Programming Language :: Python :: 3 :: Only
20
20
  Requires-Python: >=3.9.0
21
21
  Description-Content-Type: text/markdown
22
- Requires-Dist: livekit-agents~=0.7
22
+ Requires-Dist: livekit-agents>=0.8.0.dev0
23
23
  Requires-Dist: azure-cognitiveservices-speech>=1.35.0
24
24
 
25
25
  # LiveKit Plugins Azure
@@ -16,6 +16,7 @@ import asyncio
16
16
  import os
17
17
  from dataclasses import dataclass
18
18
 
19
+ from livekit import rtc
19
20
  from livekit.agents import stt, utils
20
21
 
21
22
  import azure.cognitiveservices.speech as speechsdk # type: ignore
@@ -102,7 +103,8 @@ class SpeechStream(stt.SpeechStream):
102
103
  async def _main_task(self) -> None:
103
104
  try:
104
105
  async for input in self._input_ch:
105
- self._stream.write(input.data.tobytes())
106
+ if isinstance(input, rtc.AudioFrame):
107
+ self._stream.write(input.data.tobytes())
106
108
 
107
109
  self._stream.close()
108
110
  await self._done_event.wait()
@@ -12,4 +12,4 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
- __version__ = "0.3.0-dev.2"
15
+ __version__ = "0.3.1"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: livekit-plugins-azure
3
- Version: 0.3.0.dev2
3
+ Version: 0.3.1
4
4
  Summary: Agent Framework plugin for services from Azure
5
5
  Home-page: https://github.com/livekit/agents
6
6
  License: Apache-2.0
@@ -19,7 +19,7 @@ Classifier: Programming Language :: Python :: 3.10
19
19
  Classifier: Programming Language :: Python :: 3 :: Only
20
20
  Requires-Python: >=3.9.0
21
21
  Description-Content-Type: text/markdown
22
- Requires-Dist: livekit-agents~=0.7
22
+ Requires-Dist: livekit-agents>=0.8.0.dev0
23
23
  Requires-Dist: azure-cognitiveservices-speech>=1.35.0
24
24
 
25
25
  # LiveKit Plugins Azure
@@ -1,2 +1,2 @@
1
- livekit-agents~=0.7
1
+ livekit-agents>=0.8.0.dev0
2
2
  azure-cognitiveservices-speech>=1.35.0
@@ -46,7 +46,7 @@ setuptools.setup(
46
46
  packages=setuptools.find_namespace_packages(include=["livekit.*"]),
47
47
  python_requires=">=3.9.0",
48
48
  install_requires=[
49
- "livekit-agents~=0.7",
49
+ "livekit-agents>=0.8.0.dev0",
50
50
  "azure-cognitiveservices-speech >= 1.35.0",
51
51
  ],
52
52
  package_data={},