skillfed

livekit-protocol

Python protocol stubs for LiveKit

livekit-protocol v1.1.22 5.3M downloads/30d#2,125 on PyPI375
Permissive license Apache-2.0 Active released

What it is and what it does

livekit-protocol is a low-level package that provides auto-generated Python protocol stubs and type definitions for LiveKit's real-time communication system. It serves as the foundation layer for LiveKit's Python SDKs, exposing the protobuf message types and RPC definitions that LiveKit uses internally to communicate between clients and servers.

This package is primarily consumed as a dependency by higher-level LiveKit packages (livekit for real-time SDK, livekit-api for server APIs) rather than used directly in application code. It ensures type safety and IDE support when working with LiveKit's protocol layer, and allows developers building custom LiveKit integrations to access the underlying message definitions.

Use it for:

  • Type-safe development when building custom LiveKit client or server extensions that need access to protocol definitions
  • IDE autocomplete and type checking for LiveKit protocol messages in Python projects
  • Dependency for livekit and livekit-api packages to provide consistent protocol handling across the SDK ecosystem

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides Python protocol stubs and type definitions for LiveKit's real-time communication APIs, enabling type-safe integration with LiveKit servers for video, audio, and data features.

Yes, if you are using livekit or livekit-api packages—it will be installed automatically as a dependency. Install directly only if building custom LiveKit integrations that require low-level protocol access. No security vulnerabilities, permissive license, and active maintenance make it safe to use.

Install

livekit-protocol on PyPI

pip

pip install livekit-protocol

uv

uv add livekit-protocol

poetry

poetry add livekit-protocol

Installing livekit-protocol

Before you install

Low friction: pure-Python wheel with only protobuf and types-protobuf as runtime dependencies. Active maintenance with a recent release (10 days old) and 375 repository stars.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.

Quickstart

pip install livekit-protocol

from livekit import protocol
# Use protocol stubs for type hints and message definitions
# when building LiveKit client or server integrations

Requires Python 3.9 or later; protobuf library must be installed.

Verify before relying

  • Whether this package is intended for direct use or primarily as a dependency of livekit and livekit-api packages
  • Specific protocol version coverage and compatibility with different LiveKit server versions

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.9.0)
Install friction low — pure-Python wheel
Runtime dependencies 2 — protobuf, types-protobuf
Maintenance actively maintained — 10 days since the last release
Last repo commit
First released
Downloads 5,261,587/month — #2,125 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: livekit_protocol-1.1.22-py3-none-any.whl

Keywords: audio, livekit, realtime, video, webrtc

Intended Audience :: DevelopersProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9

Tags

livekit protocol stubs pythonwebrtc python typesreal-time communication protocollivekit type definitionsvideo audio protocol pythonlivekit sdk protocol layerprotobuf stubs livekit
protocol-stubswebrtctype-hints

More Internet packages

botocore

Botocore provides low-level, data-driven access…

permissive · top 100 on PyPI

aiobotocore

Provides an async client for AWS services using…

permissive · top 100 on PyPI

pydantic

Pydantic validates Python data structures…

permissive · top 100 on PyPI

filelock

Provides a platform-independent file locking…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

googleapis-common-protos

Provides common Protocol Buffer message…

permissive · top 100 on PyPI

livekit

Python SDK for building real-time video, audio,…

permissive · top 5,000 on PyPI

livekit-api

Generate access tokens and call LiveKit server…

permissive · top 5,000 on PyPI

livekit-agents

A framework for building realtime multimodal…

permissive · top 5,000 on PyPI

livekit-plugins-noise-cancellation

Applies real-time noise cancellation to inbound…

unclear · top 5,000 on PyPI

streamlit-webrtc

Adds real-time video and audio streaming over…

permissive · top 15,000 on PyPI

livekit-plugins-telnyx

Integrates Telnyx telephony services with…

permissive · top 15,000 on PyPI

livekit-plugins-anam

Anam plugin for the LiveKit Agents framework…

permissive · top 15,000 on PyPI

livekit-plugins-groq

Integrates Groq's fast inference API with…

permissive · top 15,000 on PyPI

daily-python

A Python SDK for building video and audio…

permissive · top 15,000 on PyPI

go2rtc-client

Asynchronous Python client library for…

permissive · top 15,000 on PyPI