feross / feross/simple-peer

addStream does not run if it is used inside a setTimeout

Open
#832 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.8k
Forks
983
PR merge metrics
No merged PRs in 30d

Description

**What version of this package are you using?**
v9.11.0
**What operating system, Node.js, and npm version?**
7.8.0
**What happened?**
`peer.addStream(stream)` works alright by its own but when I put it in a `setTimeout `it does not trigger anymore

**What did you expect to happen?**
I expect the stream to be added to the peer at any given time.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.