Skip to content

v2.0.0 — Full PeerJS API on native WebRTC

Latest

Choose a tag to compare

@pushpender-singh-ap pushpender-singh-ap released this 12 Jun 16:44
1d95744

v2.0.0 — Full PeerJS API on native WebRTC

First stable release of the v2 line. react-native-peer now exposes the
complete PeerJS 1.5.5 API running on React Native's native WebRTC engine
via react-native-webrtc.

Highlights

  • 🔌 Same PeerJS API — wraps PeerJS 1.5.5; existing PeerJS code and the
    official docs apply directly.
  • 💬 Data connections — send/receive JSON, strings, and binary data.
  • 🎥 Media connections — peer-to-peer video and audio calls.
  • 📱 iOS & Android — native WebRTC through react-native-webrtc.
  • 🧩 TypeScript types re-exported from PeerJS.

⚠️ Breaking changes (from 1.x)

Installation

npm install react-native-peer react-native-webrtc

See the README

Docs

  • Data connections, video/audio calls, ICE server config, and self-hosted
    PeerServer guides are all in the rewritten README.

What's Changed

New Contributors

Full Changelog: 1.1.0...2.0.0