FastRTC Walkie Talkie
Table of Contents
Installation
pip install fastrtc-walkie-talkie
Usage
from fastrtc_walkie_talkie import WalkieTalkie
from fastrtc import Stream
def echo(audio: tuple[int, np.ndarray]):
"""Echo the audio back to the user after they say a sentence ending with "over"."""
yield audio
stream = Stream(
handler=WalkieTalkie(echo),
modality="audio",
mode="send-receive",
ui_args={"title": "Walkie Talkie Turn Taking Algorithm",
"subtitle": "Say 'over' to finish your turn. For example, 'Hi, how are you? over'."},
)
stream.ui.launch()
Metadata
Release files for fastrtc-walkie-talkie 0.0.3.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fastrtc_walkie_talkie-0.0.3.post1.tar.gz | 3.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fastrtc_walkie_talkie-0.0.3.post1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.4 kB
Release files / fastrtc_walkie_talkie-0.0.3.post1.tar.gz
| Download URL | fastrtc_walkie_talkie-0.0.3.post1.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b89e65946cc3782f5b5811eb2047bfac85801f9076ac506f3ae30b01dcfe0c99
|
|
BLAKE2b-256 checksum How to use checksums |
21bca77920825b46670417ba40ea53d8d25d8baea01a7c5c2e589c1865f4afbe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / fastrtc_walkie_talkie-0.0.3.post1-py3-none-any.whl
| Download URL | fastrtc_walkie_talkie-0.0.3.post1-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b7a579fb54aeaecde1c9b70f1b6fe90b32ae3931883f228941c1c2fc5a7ed5cd
|
|
BLAKE2b-256 checksum How to use checksums |
19d4806d393964f326f6edf1352c23ea03404491fa70b2e4691280cec6ade742
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|