livekit-plugins-google 0.5.dev0__tar.gz → 0.5.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.
- {livekit_plugins_google-0.5.dev0 → livekit_plugins_google-0.5.1}/PKG-INFO +3 -12
- {livekit_plugins_google-0.5.dev0 → livekit_plugins_google-0.5.1}/livekit/plugins/google/tts.py +5 -2
- {livekit_plugins_google-0.5.dev0 → livekit_plugins_google-0.5.1}/livekit/plugins/google/version.py +1 -1
- {livekit_plugins_google-0.5.dev0 → livekit_plugins_google-0.5.1}/livekit_plugins_google.egg-info/PKG-INFO +3 -12
- livekit_plugins_google-0.5.1/livekit_plugins_google.egg-info/requires.txt +3 -0
- {livekit_plugins_google-0.5.dev0 → livekit_plugins_google-0.5.1}/setup.py +2 -11
- livekit_plugins_google-0.5.dev0/livekit_plugins_google.egg-info/requires.txt +0 -10
- {livekit_plugins_google-0.5.dev0 → livekit_plugins_google-0.5.1}/README.md +0 -0
- {livekit_plugins_google-0.5.dev0 → livekit_plugins_google-0.5.1}/livekit/plugins/google/__init__.py +0 -0
- {livekit_plugins_google-0.5.dev0 → livekit_plugins_google-0.5.1}/livekit/plugins/google/log.py +0 -0
- {livekit_plugins_google-0.5.dev0 → livekit_plugins_google-0.5.1}/livekit/plugins/google/models.py +0 -0
- {livekit_plugins_google-0.5.dev0 → livekit_plugins_google-0.5.1}/livekit/plugins/google/py.typed +0 -0
- {livekit_plugins_google-0.5.dev0 → livekit_plugins_google-0.5.1}/livekit/plugins/google/stt.py +0 -0
- {livekit_plugins_google-0.5.dev0 → livekit_plugins_google-0.5.1}/livekit_plugins_google.egg-info/SOURCES.txt +0 -0
- {livekit_plugins_google-0.5.dev0 → livekit_plugins_google-0.5.1}/livekit_plugins_google.egg-info/dependency_links.txt +0 -0
- {livekit_plugins_google-0.5.dev0 → livekit_plugins_google-0.5.1}/livekit_plugins_google.egg-info/top_level.txt +0 -0
- {livekit_plugins_google-0.5.dev0 → livekit_plugins_google-0.5.1}/pyproject.toml +0 -0
- {livekit_plugins_google-0.5.dev0 → livekit_plugins_google-0.5.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: livekit-plugins-google
|
3
|
-
Version: 0.5.
|
3
|
+
Version: 0.5.1
|
4
4
|
Summary: Agent Framework plugin for services from Google Cloud
|
5
5
|
Home-page: https://github.com/livekit/agents
|
6
6
|
License: Apache-2.0
|
@@ -14,23 +14,14 @@ Classifier: Topic :: Multimedia :: Sound/Audio
|
|
14
14
|
Classifier: Topic :: Multimedia :: Video
|
15
15
|
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
16
16
|
Classifier: Programming Language :: Python :: 3
|
17
|
-
Classifier: Programming Language :: Python :: 3.7
|
18
|
-
Classifier: Programming Language :: Python :: 3.8
|
19
17
|
Classifier: Programming Language :: Python :: 3.9
|
20
18
|
Classifier: Programming Language :: Python :: 3.10
|
21
19
|
Classifier: Programming Language :: Python :: 3 :: Only
|
22
|
-
Requires-Python: >=3.
|
20
|
+
Requires-Python: >=3.9.0
|
23
21
|
Description-Content-Type: text/markdown
|
24
|
-
Requires-Dist: numpy<2,>=1
|
25
|
-
Requires-Dist: google-api-core<3,>=2
|
26
|
-
Requires-Dist: google-auth<3,>=2
|
27
|
-
Requires-Dist: google-cloud-core<3,>=2
|
28
22
|
Requires-Dist: google-cloud-speech<3,>=2
|
29
23
|
Requires-Dist: google-cloud-texttospeech<3,>=2
|
30
|
-
Requires-Dist:
|
31
|
-
Requires-Dist: googleapis-common-protos<2,>=1
|
32
|
-
Requires-Dist: livekit~=0.11
|
33
|
-
Requires-Dist: livekit-agents~=0.7.dev0
|
24
|
+
Requires-Dist: livekit-agents~=0.7
|
34
25
|
|
35
26
|
# LiveKit Plugins Google
|
36
27
|
|
{livekit_plugins_google-0.5.dev0 → livekit_plugins_google-0.5.1}/livekit/plugins/google/tts.py
RENAMED
@@ -20,7 +20,8 @@ from dataclasses import dataclass
|
|
20
20
|
from typing import Optional, Union
|
21
21
|
|
22
22
|
from livekit import rtc
|
23
|
-
from livekit.agents import
|
23
|
+
from livekit.agents import tts
|
24
|
+
from livekit.agents.utils import codecs
|
24
25
|
|
25
26
|
from google.cloud import texttospeech
|
26
27
|
from google.cloud.texttospeech_v1.types import (
|
@@ -146,7 +147,9 @@ class ChunkedStream(tts.ChunkedStream):
|
|
146
147
|
decoder = codecs.Mp3StreamDecoder()
|
147
148
|
frames = decoder.decode_chunk(data)
|
148
149
|
for frame in frames:
|
149
|
-
self._queue.put_nowait(
|
150
|
+
self._queue.put_nowait(
|
151
|
+
tts.SynthesizedAudio(text=self._text, data=frame)
|
152
|
+
)
|
150
153
|
else:
|
151
154
|
self._queue.put_nowait(
|
152
155
|
tts.SynthesizedAudio(
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: livekit-plugins-google
|
3
|
-
Version: 0.5.
|
3
|
+
Version: 0.5.1
|
4
4
|
Summary: Agent Framework plugin for services from Google Cloud
|
5
5
|
Home-page: https://github.com/livekit/agents
|
6
6
|
License: Apache-2.0
|
@@ -14,23 +14,14 @@ Classifier: Topic :: Multimedia :: Sound/Audio
|
|
14
14
|
Classifier: Topic :: Multimedia :: Video
|
15
15
|
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
16
16
|
Classifier: Programming Language :: Python :: 3
|
17
|
-
Classifier: Programming Language :: Python :: 3.7
|
18
|
-
Classifier: Programming Language :: Python :: 3.8
|
19
17
|
Classifier: Programming Language :: Python :: 3.9
|
20
18
|
Classifier: Programming Language :: Python :: 3.10
|
21
19
|
Classifier: Programming Language :: Python :: 3 :: Only
|
22
|
-
Requires-Python: >=3.
|
20
|
+
Requires-Python: >=3.9.0
|
23
21
|
Description-Content-Type: text/markdown
|
24
|
-
Requires-Dist: numpy<2,>=1
|
25
|
-
Requires-Dist: google-api-core<3,>=2
|
26
|
-
Requires-Dist: google-auth<3,>=2
|
27
|
-
Requires-Dist: google-cloud-core<3,>=2
|
28
22
|
Requires-Dist: google-cloud-speech<3,>=2
|
29
23
|
Requires-Dist: google-cloud-texttospeech<3,>=2
|
30
|
-
Requires-Dist:
|
31
|
-
Requires-Dist: googleapis-common-protos<2,>=1
|
32
|
-
Requires-Dist: livekit~=0.11
|
33
|
-
Requires-Dist: livekit-agents~=0.7.dev0
|
24
|
+
Requires-Dist: livekit-agents~=0.7
|
34
25
|
|
35
26
|
# LiveKit Plugins Google
|
36
27
|
|
@@ -39,8 +39,6 @@ setuptools.setup(
|
|
39
39
|
"Topic :: Multimedia :: Video",
|
40
40
|
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
41
41
|
"Programming Language :: Python :: 3",
|
42
|
-
"Programming Language :: Python :: 3.7",
|
43
|
-
"Programming Language :: Python :: 3.8",
|
44
42
|
"Programming Language :: Python :: 3.9",
|
45
43
|
"Programming Language :: Python :: 3.10",
|
46
44
|
"Programming Language :: Python :: 3 :: Only",
|
@@ -48,18 +46,11 @@ setuptools.setup(
|
|
48
46
|
keywords=["webrtc", "realtime", "audio", "video", "livekit"],
|
49
47
|
license="Apache-2.0",
|
50
48
|
packages=setuptools.find_namespace_packages(include=["livekit.*"]),
|
51
|
-
python_requires=">=3.
|
49
|
+
python_requires=">=3.9.0",
|
52
50
|
install_requires=[
|
53
|
-
"numpy >= 1, < 2",
|
54
|
-
"google-api-core >= 2, < 3",
|
55
|
-
"google-auth >= 2, < 3",
|
56
|
-
"google-cloud-core >= 2, < 3",
|
57
51
|
"google-cloud-speech >= 2, < 3",
|
58
52
|
"google-cloud-texttospeech >= 2, < 3",
|
59
|
-
"
|
60
|
-
"googleapis-common-protos >= 1, < 2",
|
61
|
-
"livekit ~= 0.11",
|
62
|
-
"livekit-agents~=0.7.dev0",
|
53
|
+
"livekit-agents~=0.7",
|
63
54
|
],
|
64
55
|
package_data={
|
65
56
|
"livekit.plugins.google": ["py.typed"],
|
File without changes
|
{livekit_plugins_google-0.5.dev0 → livekit_plugins_google-0.5.1}/livekit/plugins/google/__init__.py
RENAMED
File without changes
|
{livekit_plugins_google-0.5.dev0 → livekit_plugins_google-0.5.1}/livekit/plugins/google/log.py
RENAMED
File without changes
|
{livekit_plugins_google-0.5.dev0 → livekit_plugins_google-0.5.1}/livekit/plugins/google/models.py
RENAMED
File without changes
|
{livekit_plugins_google-0.5.dev0 → livekit_plugins_google-0.5.1}/livekit/plugins/google/py.typed
RENAMED
File without changes
|
{livekit_plugins_google-0.5.dev0 → livekit_plugins_google-0.5.1}/livekit/plugins/google/stt.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|