Commit graph

12 commits

Author SHA1 Message Date
Jonas Herzig
c2ebc19134 Remove intermediate per-destination outbound packet buffers
With futures 0.3, we can check whether a sink can accept items without actually
sending them to it, which used to be the reason why we needed to per-destination
buffers.
2020-04-05 18:25:27 +02:00
Jonas Herzig
995eed0a9b Replace stream_to_be_sent with much simpler outbound_buf
We've been passing around `Stream`s of `Frame`s everywhere even though we never
made use of the async nature of those (i.e. we used future::ready everywhere).
This resulted in unnecessarily complicated an hard to read code. Instead we now
have a simple VecDeque outbound_buf which we push packets on if we want them to
be sent. No more passing around complicated return values.
2020-04-05 17:46:29 +02:00
Jonas Herzig
cda7f0cd7a Update dependencies (most notably futures to 0.3) 2020-04-05 16:22:43 +02:00
Jonas Herzig
8bdd654952 Switch to Rust 2018 edition 2020-04-03 20:55:59 +02:00
Jonas Herzig
f7308bb6d0 Act as stupid proxy for clients without WebRTC support 2019-02-11 20:23:07 +01:00
Jonas Herzig
358d4a2d25 Fix ICE agent not being in controlling mode 2019-02-11 20:22:53 +01:00
Jonas Herzig
d1daad2773 Switch back to mozilla_intermediate TLS preset for compatibility 2019-02-11 20:22:53 +01:00
Jonas Herzig
a194bb6c6f Add support for running behind firewall and NAT 2019-02-09 10:40:38 +01:00
Jonas Herzig
443712cb22 Replace lots of generic code with dedicated mumble-protocol crate 2019-02-03 23:34:09 +01:00
Jonas Herzig
353de4ec2f Replace "nice" crate with futures-based "libnice" crate 2019-02-02 20:55:04 +01:00
Jonas Herzig
3f079c4153 Fix transmission tracking
Delayed packets weren't handled properly and when a transmission timed
out, RTP sequence numbers were re-used and therefore rejected by the SRTP layer.
2018-12-15 19:15:34 +01:00
Jonas Herzig
83773f0a1d Initial commit 2018-12-02 23:38:46 +01:00