simple-peer icon indicating copy to clipboard operation
simple-peer copied to clipboard

📡 Simple WebRTC video, voice, and data channels

Results 125 simple-peer issues
Sort by recently updated
recently updated
newest added

Since setting local or remote description is an asynchronous operation, we should probably change `peer.signal()` and maybe `peer.negotiate()` too to become asynchronous and return a `Promise`. This will help in...

feature request

According to the specs, `sender.replaceTrack` [should return a Promise](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpSender/replaceTrack) which will resolve when track replacement has finished. `SimplePeer`, on the contrary, returns `void` which makes it harder to await track...

feature request

I noticed that the signals keep on growing as I add new streams. Seems like removed stream are still referenced in futur signals. After a fewe cycles of adding and...

feature request

I‘ve seen quite a few issues here and people asking online why their connection doesn‘t seem to go past signaling and fails. Oftentimes under specific circumstances, like only with one...

feature request

This issue was raised in a comment by @nazar-pc and didn't want it to get lost: > I have a generic concern about constraints separation. Second argument `constraints` in `RTCPeerConnection`...

feature request

A common issue is `pc.send` throwing the cryptic `TypeError: The expression cannot be converted to return the specified type` (or other equally unhelpful errors) when a message exceeds the browser...

feature request

I'm trying to set a lower resolution when a TURN server is used. I tried looking at the APIs and didn't find a way to detect whether STUN or TURN...

feature request

```js peers[connectedUserSocketID].on('stream', (stream) => { streams.set(connectedUserSocketID, stream); store.dispatch(setStreams({ connectedUserSocketID })); }); ``` When i only use the above event listner 'stream' everything works fine. But when I use both the...

**What version of this package are you using?** **What operating system, Node.js, and npm version?** **What happened?** **What did you expect to happen?** **Are you willing to submit a pull...

simple-peer won't connect when clients are **not** in the same network It works perfectly if both clients are in the same network (connected to the same modem/WiFi) but even after...