livekit/rust-sdks

LiveKit realtime and server SDKs for Rust

What it solves

This SDK enables developers to integrate real-time video, audio, and data streaming capabilities into Rust applications. It simplifies the complex process of handling WebRTC signaling and media management, allowing you to build features like live streaming, video calls, or multi-modal AI applications with minimal code.

How it works

It acts as a cross-platform client SDK that connects your Rust application to a LiveKit server (either self-hosted or via LiveKit Cloud). It provides a high-level interface for joining rooms, publishing and receiving media tracks, and managing data channels. Beyond its use as a standalone Rust library, it serves as a foundational "core" that powers LiveKit's SDKs for other platforms, such as Unity and mobile environments, by encapsulating core business logic and platform-specific media handling.

Who it’s for

This project is designed for Rust developers who need to implement real-time media communication in their software. It is particularly useful for those building cross-platform applications, as the SDK supports Windows, macOS, Linux, iOS, and Android.

Highlights

  • Supports publishing and receiving audio and video tracks.
  • Includes hardware-accelerated video encoding and decoding (e.g., VideoToolbox on Apple devices, NVENC on Nvidia GPUs).
  • Provides built-in support for advanced streaming features like simulcast and Dynacast.
  • Includes a server-side API for managing rooms and generating secure access tokens.
  • Designed as a unified core to ensure consistent behavior across multiple programming languages and platforms.

Related

  • Project
  • Project
  • Project
  • Project
  • Project