Skip to content
View MediaSFU's full-sized avatar

Block or report MediaSFU

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
MediaSFU/README.md

MediaSFU

Video Β· Voice Β· AI Agents Β· Translation β€” One Platform

The developer-first CPaaS for real-time communication, AI-powered voice & vision agents, embeddable widgets, and live translation in 20+ languages.

Website Β· Docs Β· Widgets Β· Agents Β· Forum Β· Download Apps

πŸš€ Try a Live Meeting β†’ Β Β  🎬 See Demos β†’


License: MIT Platform npm pub.dev Flutter React Angular Vue Kotlin

Twitter YouTube Forum


Why MediaSFU?

$0.10 / 1,000 min Industry-lowest pricing β€” audio, video, and AI included
< 100 ms latency Global edge network for real-time performance
6 embeddable widgets Drop a <script> tag, get video/voice/AI on any site
20+ languages Live translation built in β€” no third-party add-ons
3,000-person rooms Scalable HD meetings with full recording
AI agents Voice + vision pipelines (STT β†’ LLM β†’ TTS) in real time
SIP & PSTN Cloud phone system with call routing, IVR, and forwarding
7 SDKs React Β· React Native Β· Flutter Β· Angular Β· Vue Β· Expo Β· Kotlin (Android)

Ecosystem Overview

mediasfu.com
β”œβ”€β”€ Apps ──────── Web Β· Windows Β· macOS Β· Linux Β· iOS Β· Android
β”œβ”€β”€ Widgets ───── 6 embeddable web components (one CDN script)
β”œβ”€β”€ SDKs ──────── React Β· React Native Β· Flutter Β· Angular Β· Vue Β· Expo Β· Kotlin
β”œβ”€β”€ Android ───── Native Kotlin SDK + mediasoup-client-android (WebRTC transport)
β”œβ”€β”€ MediaSFUOpen ─ Self-host the full backend on your own infrastructure
β”œβ”€β”€ AI Agents ─── Voice & vision pipelines (BYOK or managed)
β”œβ”€β”€ Telephony ─── SIP trunking Β· PSTN Β· Cloud phone Β· IVR
└── Translation ─ 20+ languages Β· real-time Β· in-call

MediaSFU Cloud and MediaSFUOpen share the exact same SDKs. The live meeting experience at mediasfu.com/meeting is the same prebuilt UI you get out of the box with every SDK β€” fully customizable, unbranded, and ready to embed. MediaSFUOpen lets you run the entire backend on your own servers, with zero changes to your frontend code.

Core Repositories

Repository Description
MediaSFU/MediaSFU Main repo β€” platform overview, issues, and community hub
MediaSFU/MediaSFUOpen Self-hosted backend β€” run MediaSFU on your own infrastructure
MediaSFU/MediaSFU-ReactJS React.js SDK β€” full-featured rooms, headless mode, React 19
MediaSFU/MediaSFU_SDK_Flutter Flutter SDK β€” cross-platform rooms for iOS, Android, web, desktop
MediaSFU/VOIP Telephony agents, SIP/PSTN apps, and VOIP reference suite
MediaSFU/Agents Multimodal AI agents (voice, vision, text) with SDKs
MediaSFU/mediasfu-sdk-kotlin Native Android SDK (Kotlin/Compose) with full MediaSFU room support
MediaSFU/mediasfu-mediasoup-client-android MediaSFU's maintained mediasoup WebRTC transport for Android β€” WebRTC M137, H.264/PCMU/PCMA support

Live Workspaces

Environment Link
Agents Playground (BYOK) agents.mediasfu.com/playground
Agents Playground (Managed) agents.mediasfu.com
Sandbox mediasfu.com/sandbox

Embeddable Widgets

Add real-time communication to any website with a single script tag β€” no framework required.

<script src="https://cdn.mediasfu.com/widget.js"></script>
Widget Tag What it does
Click-to-Call <mediasfu-call-button> One-click browser-to-phone/SIP calling
AI Agent <mediasfu-ai-agent> Multimodal AI (voice + vision) on your site
AI Agent Plus <mediasfu-web-agent> Full agent with human escalation & handoff
Meeting Portal <mediasfu-meeting-join> Join/schedule meetings with preview & lobby
Calls Dashboard <mediasfu-calls> Softphone, call history, and contacts
Agents Dashboard <mediasfu-agent-dashboard> Operator console for monitoring AI calls

Example β€” add a call button in 3 lines:

<script src="https://cdn.mediasfu.com/widget.js"></script>
<mediasfu-call-button
  widget-key="wk_your_key"
  destination="+1-800-555-1234"
  theme="dark"
  button-text="Call Sales"
/>

Explore all widgets: mediasfu.com/widgets Β· Developer guide: mediasfu.com/developers


AI Agents β€” Voice & Vision Pipelines

Build and deploy real-time AI agents powered by data buffers β€” no WebSocket plumbing required.

Audio In ──→ STT ──→ LLM ──→ TTS ──→ Audio Out
Video In ──→ Frame Analysis ──→ LLM ──→ Overlay / Response

Supported LLMs: ChatGPT Β· Claude Β· Gemini Β· DeepSeek Β· Llama Β· and more

Pipeline Price
Voice (STT β†’ LLM β†’ TTS) $0.10 / 1,000 min
Vision (frame analysis) $0.375 / 1,000 min
Volume discounts Up to 40% off

Try now: agents.mediasfu.com Β· SDKs: github.com/MediaSFU/Agents


SDKs

Production-ready, full-featured SDKs β€” each ships as a complete app you can customize or run headless.

Platform Package Install GitHub
React.js mediasfu-reactjs npm i mediasfu-reactjs MediaSFU-ReactJS
Angular mediasfu-angular npm i mediasfu-angular MediaSFU-Angular
Vue.js mediasfu-vue npm i mediasfu-vue MediaSFU-Vue
Flutter mediasfu_sdk flutter pub add mediasfu_sdk MediaSFU_SDK_Flutter
React Native (Expo) mediasfu-reactnative-expo npx expo install mediasfu-reactnative-expo MediaSFU-ReactNative-Expo
React Native (CLI) mediasfu-reactnative npm i mediasfu-reactnative MediaSFU-ReactNative
Kotlin (Android) Maven / AAR See repo for setup mediasfu-sdk-kotlin

Android β€” Native Kotlin Stack

MediaSFU provides a complete native Android solution built on Kotlin, with feature parity against the React and Flutter SDKs.

Component Description GitHub
MediaSFU Android SDK Full-featured Kotlin SDK β€” rooms, video grids, controls, recording, translation mediasfu-sdk-kotlin
mediasoup-client-android Low-level WebRTC transport (mediasoup) for Kotlin/Java Android apps β€” WebRTC M137, H.264/PCMU/PCMA mediasfu-mediasoup-client-android

The mediasoup-client-android library handles the WebRTC signaling and media transport layer, while the MediaSFU Android SDK builds the full room experience on top of it β€” including participant grids, audio/video controls, polls, breakout rooms, and real-time translation.

Quick start monorepo with preconfigured apps for every SDK: MediaSFU-QuickStart-Apps


Platform Features

Communication

  • HD Video Meetings β€” up to 3,000 participants
  • Cloud Phone β€” SIP trunking, PSTN, IVR, call forwarding
  • Screen Sharing with real-time annotation (web)
  • Collaborative Whiteboards (web)
  • Breakout Rooms β€” sub-sessions within a meeting
  • Panellists & Audience Roles β€” separate presenter and viewer tiers with controlled access
  • Polls β€” launch, respond to, and tally polls mid-session
  • Virtual Backgrounds β€” blur, replace, or customize your video background
  • Chat β€” direct & group messaging

Recording & Media

  • Cloud Recording β€” track-based, with watermarks, name tags, custom backgrounds
  • Pause & Resume β€” unlimited, mid-session control
  • Dual-View Recomposition β€” landscape and portrait from a single recording
  • WebRTC Recorder β€” send media from anywhere; get real-time image/audio buffers

AI & Translation

  • Voice Pipelines β€” STT β†’ LLM β†’ TTS, fully customizable
  • Vision Pipelines β€” real-time frame analysis with AI overlays
  • Live Translation β€” 20+ languages, in-call, real-time; switch your speaking or listening language independently, like tuning to a channel
  • Bring Your Own Keys β€” or use MediaSFU-managed keys

Developer Experience

  • 7 SDKs β€” React, Angular, Vue, Flutter, React Native, Expo, and native Kotlin for Android
  • 6 Embeddable Widgets β€” one CDN script, works on any site
  • Headless Mode β€” SDKs work without UI for custom integrations
  • Prebuilt UI β€” unbranded, full-featured, ready to embed
  • Managed Events β€” auto-handle idle participants, capacity limits, timeouts

Apps β€” Available Everywhere

Platform Status
Web mediasfu.com
Windows Download
Linux Download
macOS App Store
iOS App Store
Android Google Play

Learn β€” SpacesTek Tutorial Series

Build a complete app with MediaSFU from scratch with our step-by-step tutorial repos:

Step Repository What you'll build
1. Base UI SpacesTekInitial Core layout and navigation
2. Real-time comms SpacesTekFinal Video, audio, and chat integration
3. AI expansion SpacesTekAdvanced AI agents and advanced features

Documentation & Resources

Resource Link
Developer Docs mediasfu.com/developers
Widget Guide mediasfu.com/widgets
Components Library mediasfu.com/components
All Guides mediasfu.com/guides
AI Agents mediasfu.com/agents
Telephony mediasfu.com/telephony
Translation mediasfu.com/translation
API Sandbox mediasfu.com/sandbox
Prebuilt UI Embed mediasfu.com/prebuilt

Pricing

Tier Rate Includes
Standard $0.10 / 1,000 min Audio, video, recording, translation
Vision AI $0.375 / 1,000 min Real-time frame analysis pipelines
Volume Up to 40% off High-usage discounts available

No per-seat fees. No feature gates. Everything included at one rate.


Community & Support


Built for developers. Priced for everyone. Scales to millions.

Get Started Free β†’

Popular repositories Loading

  1. MediaSFUOpen MediaSFUOpen Public

    MediaSFU Community Edition

    JavaScript 15

  2. mediasfu_mediasoup_client mediasfu_mediasoup_client Public

    MediaSFU Mediasoup Client for Flutter

    Dart 8 7

  3. MediaSFU_SDK_Flutter MediaSFU_SDK_Flutter Public

    MediaSFU Flutter SDK

    Dart 5

  4. MediaSFU MediaSFU Public

    MediaSFU web and mobile apps

    3

  5. mediasfu-mediasoup-client-android mediasfu-mediasoup-client-android Public

    MediaSFU Mediasoup Client for Android

    C++ 3 2

  6. MediaSFU-Angular MediaSFU-Angular Public

    MediaSFU Angular SDK

    TypeScript 2 1