Skip to content

merqlove/react-native-webrtc

This branch is 36 commits behind react-native-webrtc/react-native-webrtc:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

495658d · May 3, 2024
May 11, 2023
Apr 4, 2024
Apr 17, 2024
Nov 9, 2021
May 3, 2024
Apr 17, 2024
Sep 16, 2022
Apr 11, 2024
Apr 17, 2023
Feb 21, 2023
Oct 4, 2022
Sep 16, 2022
Sep 23, 2022
Oct 19, 2021
May 10, 2023
Feb 17, 2023
Jan 8, 2024
Oct 19, 2021
Oct 19, 2021
Apr 18, 2024
Apr 18, 2024
Nov 27, 2023
Oct 19, 2021
Mar 15, 2022

Repository files navigation

React Native WebRTC

React-Native-WebRTC

npm version npm downloads Discourse topics

A WebRTC module for React Native.

Feature Overview

Android iOS tvOS macOS* Windows* Web* Expo*
Audio/Video ✔️ ✔️ ✔️ - - ✔️ ✔️
Data Channels ✔️ ✔️ - - - ✔️ ✔️
Screen Capture ✔️ ✔️ - - - ✔️ ✔️
Plan B - - - - - - -
Unified Plan* ✔️ ✔️ - - - ✔️ ✔️
Simulcast* ✔️ ✔️ - - - ✔️ ✔️

macOS - We don't currently actively support macOS at this time.
Support might return in the future.

Windows - We don't currently support the react-native-windows platform at this time.
Anyone interested in getting the ball rolling? We're open to contributions.

Web - The react-native-webrtc-web-shim project provides a shim for react-native-web support.
Which will allow you to use (almost) the exact same code in your react-native-web project as you would with react-native directly.

Expo - As this module includes native code it is not available in the Expo Go app by default.
However you can get things working via the expo-dev-client library and out-of-tree config-plugins/react-native-webrtc package.

Unified Plan - As of version 106.0.0 Unified Plan is the only supported mode.
Those still in need of Plan B will need to use an older release.

Simulcast - As of version 111.0.0 Simulcast is now possible with ease.
Software encode/decode factories have been enabled by default.

WebRTC Revision

  • Currently used revision: M118
  • Supported architectures
    • Android: armeabi-v7a, arm64-v8a, x86, x86_64
    • iOS: arm64, x86_64
    • tvOS: arm64
    • macOS: (temporarily disabled)

Getting Started

Use one of the following preferred package install methods to immediately get going.
Don't forget to follow platform guides below to cover any extra required steps.

npm: npm install react-native-webrtc --save
yarn: yarn add react-native-webrtc
pnpm: pnpm install react-native-webrtc

Guides

Example Projects

We have some very basic example projects included in the examples directory.
Don't worry, there are plans to include a much more broader example with backend included.

Community

Come join our Discourse Community if you want to discuss any React Native and WebRTC related topics.
Everyone is welcome and every little helps.

Related Projects

Looking for extra functionality coverage?
The react-native-webrtc organization provides a number of packages which are more than useful when developing Real Time Communication applications.

About

The WebRTC module for React Native

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 41.7%
  • Objective-C 33.6%
  • TypeScript 20.7%
  • Python 2.8%
  • JavaScript 0.7%
  • Shell 0.3%
  • Ruby 0.2%