Skip to main content

FastRTC Walkie Talkie

PyPI - Version PyPI - Python Version


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)

Source distribution for fastrtc-walkie-talkie 0.0.3.post1
File Size Uploaded
fastrtc_walkie_talkie-0.0.3.post1.tar.gz 3.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fastrtc-walkie-talkie 0.0.3.post1
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.0.3.post1 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page