Open source WebRTC infrastructure 全栈解决方案:

LiveKit is an open source WebRTC project that gives you everything needed to build scalable and real-time audio, video, and data experiences in your applications.

Client SDKs

Client SDKs are used to add audio/video functionality to your apps. LiveKit provides official client SDKs for JavaScript, React, iOS/MacOS (Swift), Android (Kotlin), Flutter, Unity (WebGL). React Native is currently in beta.

PLATFORM REPO LINKS
Web (JS/TS) client-sdk-js docs npm
React livekit-react npm
iOS client-sdk-swift docs
Android client-sdk-android docs maven
Flutter client-sdk-flutter docs pub.dev
Unity Web client-sdk-unity-web
React Native (beta) client-sdk-react-native

Current supported features

Feature Subscribe/Publish Simulcast Background audio Screen sharing
Web 🟢 🟢 🟢
iOS 🟢 🟢 🟢
Android 🟢 🟢 🟢
Mac 🟢 🟢 🟢
Windows 🟢 🟢 🟢

mac os install

wget https://github.com/Homebrew/homebrew-core/blob/master/Formula/livekit-cli.rb

wget https://github.com/Homebrew/homebrew-core/blob/master/Formula/livekit.rb

brew install ./livekit.rb

brew install ./livekit-cli.rb

start development

livekit-server –dev

Creating access token

livekit-cli create-token
–api-key devkey –api-secret secret
–join –room my-first-room –identity user1
–valid-for 24h

example:

https://example.livekit.io/#/

LiveKitURL:ws://localhost:7880 Token: