gfodor / p2pcf

Low cost, low effort P2P WebRTC serverless signalling using Cloudflare Workers
MIT License
952 stars 53 forks source link

Use tiny-simple-peer #6

Closed gfodor closed 2 years ago

gfodor commented 2 years ago

This migrates p2pcf to use a small fork of simple-peer I created called tiny-simple-peer, which drops all the node polyfills in exchange for removing the Peer's stream.Duplex API. This was based on the feedback in https://github.com/gfodor/p2pcf/issues/1

I'm not going to cut this as a major release even though it's technically a breaking API change, since this library is so new that I doubt we have any downstream consumers or ever will of the stream.Duplex API.

ThaUnknown commented 2 years ago

goated