Open delapuente opened 6 years ago
Another solution would be to delay these events until emitting the peer
event. What do you think @mafintosh ?
I've implemented delaying the events until after the peer
event. What do you think, @mafintosh ?
@perguth I changed the way of clean-up. Let me know your thoughts and thanks for the feedback.
Fix #25
This is an initial draft of the solution. Since
simple-peer
has no support for lazy-adding streams, let's store the stream sent by the peer inside the peer.