rawrtc / rawrtc-data-channel

A standalone WebRTC and ORTC data channel implementation.
BSD 2-Clause "Simplified" License
52 stars 6 forks source link

Ensure queued data will be sent when closing a channel #18

Open lgrahl opened 6 years ago

lgrahl commented 6 years ago

Currently we do send all queued data but I believe we incorrectly send it even after the outgoing stream has been reset. This will require having an outgoing queue per channel.

Also, nice to have: A graceful closing method for the SCTP transport that doesn't non-gracefully closes all channels.