livekit-plugins-hedra 1.2.2__tar.gz → 1.2.4__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.

Potentially problematic release.


This version of livekit-plugins-hedra might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: livekit-plugins-hedra
3
- Version: 1.2.2
3
+ Version: 1.2.4
4
4
  Summary: Agent Framework plugin for Hedra Avatar
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.2.2
21
+ Requires-Dist: livekit-agents>=1.2.4
22
22
  Description-Content-Type: text/markdown
23
23
 
24
24
  # Hedra plugin for LiveKit Agents
@@ -25,6 +25,7 @@ from livekit.agents.voice.room_io import ATTRIBUTE_PUBLISH_ON_BEHALF
25
25
  from .log import logger
26
26
 
27
27
  DEFAULT_API_URL = "https://api.hedra.com/public/livekit/v1/session"
28
+ SAMPLE_RATE = 16000
28
29
  _AVATAR_AGENT_IDENTITY = "hedra-avatar-agent"
29
30
  _AVATAR_AGENT_NAME = "hedra-avatar-agent"
30
31
 
@@ -115,6 +116,7 @@ class AvatarSession:
115
116
  room=room,
116
117
  destination_identity=self._avatar_participant_identity,
117
118
  wait_remote_track=rtc.TrackKind.KIND_VIDEO,
119
+ sample_rate=SAMPLE_RATE,
118
120
  )
119
121
 
120
122
  async def _start_agent(self, livekit_url: str, livekit_token: str) -> None:
@@ -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__ = "1.2.2"
15
+ __version__ = "1.2.4"
@@ -22,7 +22,7 @@ classifiers = [
22
22
  "Programming Language :: Python :: 3.10",
23
23
  "Programming Language :: Python :: 3 :: Only",
24
24
  ]
25
- dependencies = ["livekit-agents>=1.2.2"]
25
+ dependencies = ["livekit-agents>=1.2.4"]
26
26
 
27
27
  [project.urls]
28
28
  Documentation = "https://docs.livekit.io"