Skip to content

Commit 0b32409

Browse files
committed
init code
1 parent 8e51b75 commit 0b32409

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎README.md‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# streamcoreai-sdk (Python)
1+
# streamcore (Python)
22

3-
Python SDK for connecting to a [StreamCoreAI](https://github.com/streamcoreai/streamcoreai) server via WebRTC + WHIP, powered by [aiortc](https://github.com/aiortc/aiortc).
3+
Python SDK for connecting to a [streamcore](https://github.com/streamcore/streamcore-server) server via WebRTC + WHIP, powered by [aiortc](https://github.com/aiortc/aiortc).
44

55
## Requirements
66

@@ -9,7 +9,7 @@ Python SDK for connecting to a [StreamCoreAI](https://github.com/streamcoreai/st
99
## Installation
1010

1111
```bash
12-
pip install streamcoreai-sdk
12+
pip install streamcore
1313
```
1414

1515
Or install from source:
@@ -24,16 +24,16 @@ pip install -e .
2424
```python
2525
import asyncio
2626
import numpy as np
27-
import streamcoreai
27+
import streamcore
2828

2929

3030
async def main():
3131
def on_transcript(entry, all_entries):
3232
print(f"[{entry.role}] {entry.text}")
3333

34-
client = streamcoreai.Client(
35-
config=streamcoreai.Config(whip_endpoint="http://localhost:8080/whip"),
36-
events=streamcoreai.EventHandler(
34+
client = streamcore.Client(
35+
config=streamcore.Config(whip_endpoint="http://localhost:8080/whip"),
36+
events=streamcore.EventHandler(
3737
on_transcript=on_transcript,
3838
on_error=lambda err: print(f"Error: {err}"),
3939
),
@@ -42,7 +42,7 @@ async def main():
4242
await client.connect()
4343

4444
# Send a 20 ms frame of silence
45-
pcm = np.zeros(streamcoreai.FRAME_SIZE, dtype=np.int16)
45+
pcm = np.zeros(streamcore.FRAME_SIZE, dtype=np.int16)
4646
await client.send_pcm(pcm)
4747

4848
# Receive decoded audio from the agent

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = ["setuptools>=68.0", "wheel"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
6-
name = "streamcoreai-sdk"
6+
name = "streamcore"
77
version = "0.1.0"
88
description = "Python SDK for connecting to a Pion Voice Agent server via WebRTC + WHIP"
99
readme = "README.md"

0 commit comments

Comments
 (0)