finds.dev← search

// the find

stephenlb/webrtc-sdk

★ 865 · JavaScript · MIT · updated Aug 2020

WebRTC Simple Calling API + Mobile SDK - A simplified approach to RTCPeerConnection for mobile and web video calling apps.

A WebRTC wrapper that uses PubNub as the signaling layer, abstracting RTCPeerConnection into a phone-call API. Aimed at developers who want video/audio calling without hand-rolling ICE negotiation. Hard dependency on PubNub means it is not a standalone WebRTC library — it is a PubNub product demo dressed as an SDK.

The dial/receive API is genuinely simple — two function calls and you have a working video call, which is a real achievement given how painful raw WebRTC is. Broadcasting mode (one-to-many) is included and works with the same API surface. STUN-less fallback via PubNub data channel is useful for corporate firewall environments. The `autocam` flag and camera resolution controls show someone thought about real deployment needs beyond the happy path.

Last commit is 2020 — WebRTC APIs have changed, browser support tables are stale, and the Snyk badge almost certainly shows vulnerabilities by now. The PubNub dependency is structural, not optional: you need their keys, their infrastructure, and their pricing for signaling, which kills it for anything beyond a prototype. The known issues list in the README (race conditions during handshake, no wire-pull disconnect detection, no ICE recovery) were never resolved and remain open six years later. No TypeScript types, no module system — it's a global `PHONE` variable loaded via script tag, which dates it badly.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →