RadarTopicsBuildersWeeklyReads
Open Source Radar
gradio-app/

fastrtc

GitHubWebsite

fastrtc is a Python library that enables real-time audio/video streaming via WebRTC or WebSockets, with mounting on FastAPI apps and built-in UI support.

4.6kstars
433forks
79issues
MITlicense
2024since
Star historydaily snapshots by VibeCrowd

Collecting history — the radar snapshots this repo daily. The trend line appears after 3 days of data (1 so far).

Alternatives & relatedmatched by topic overlap
Reviewgenerated from repository data · Aug 5, 2026

What it is

The repository provides a Python library for real-time communication, enabling real-time audio and video streaming over WebRTC or WebSockets. It offers a built-in UI launch, a way to mount streams on FastAPI apps, and a method to obtain a webRTC or websocket endpoint for custom frontends.

How it works

The library exposes a Stream object that can be mounted onto a FastAPI app using the mount(app) method to expose streaming endpoints. It supports a built-in UI via stream.ui.launch() and a telephone-like interface via stream.fastphone(). The README demonstrates usage in code blocks for echo audio, LLM voice chat, webcam streaming, and object detection workflows, indicating support for both audio and video modalities and integration with external AI services.

Getting started

Install via pip as shown:

pip install fastrtc

To enable additional features, install extras:

pip install "fastrtc[vad, tts]"

Usage examples include creating a Stream with a handler and modality, then launching the UI or mounting on FastAPI:

  • stream.ui.launch()
  • stream.mount(app)
  • stream.fastphone()

Recent releases

Latest release: 0.0.34 (2025-11-24)

  • feature: Allow to pass openapi tags to mounted endpoints by @AleksanderWWW in https://github.com/gradio-app/fastrtc/pull/396
  • change some prints to logger. by @FabienDanieau in ht Previous releases:
  • 0.0.33 Version 0.0.33 (2025-09-17): * Handle Gradio lite for versions prior to 5.46.0 by @marcusvaltonen in https://github.com/gradio-app/fastrtc/pull/393
  • Release version 0.0.33 by @freddyaboulton in https://github.c
  • 0.0.32 0.0.32 (2025-09-02): * Update LICENSE by @maradini77 in https://github.com/gradio-app/fastrtc/pull/375
  • Fix Async Client Bug from re-using the same instance by @freddyaboulton in https://github.com/grad
  • 0.0.30 0.0.30 (2025-08-12): * Immersive UI by @dawoodkhan82 in https://github.com/gradio-app/fastrtc/pull/364
    • Add new compiled js to source by @freddyaboulton in https://github.com/gradio-app/fastrtc/pull/370
  • 0.0.29 Version 0.0.29 (2025-07-07): * Be able to close the connection with python code by @freddyaboulton in https://github.com/gradio-app/fastrtc/pull/360

Traction

The repository shows 4620 stars and 433 forks, with 79 open issues.

Behind the repo

Not included in the provided facts.

Caveats

License: MIT. Created 2024-09-25. Last push 2026-01-12. Language: JavaScript. The README includes multiple code examples and installation commands as shown above.

SharePost on XLinkedIn
All trending reposRevenue-verified startups →