Stephen Birarda
|
c35fa6eaae
|
some more cleanup in congestion control
|
2015-07-29 11:48:00 -07:00 |
|
Stephen Birarda
|
169cb97db5
|
fix bandwidth and receive rate EWMA in Connection
|
2015-07-29 11:35:06 -07:00 |
|
Stephen Birarda
|
f65472cbc7
|
use a double USECS_PER_SECOND in CongestionControl
|
2015-07-29 11:14:03 -07:00 |
|
Stephen Birarda
|
89e32e4a6b
|
some initial cleanup in CongestionControl
|
2015-07-29 11:11:06 -07:00 |
|
Stephen Birarda
|
d344ba5743
|
add a comment for Connection processTimeoutNAK
|
2015-07-29 10:56:38 -07:00 |
|
Stephen Birarda
|
94db77155e
|
fix for RTT numerator calculations
|
2015-07-29 10:55:22 -07:00 |
|
Stephen Birarda
|
7084c12434
|
make the CongestionControl object take a range for loss
|
2015-07-29 10:28:59 -07:00 |
|
Atlante45
|
18795321d7
|
Merge branch 'atp' of https://github.com/birarda/hifi into protocol
|
2015-07-28 19:28:03 -07:00 |
|
Atlante45
|
7b3761f07a
|
Implement NAK timeout packets read/write
|
2015-07-28 19:27:29 -07:00 |
|
Stephen Birarda
|
99f9a4a712
|
add TODOs for onLoss, handle ACK from packet count
|
2015-07-28 19:23:38 -07:00 |
|
Atlante45
|
123491ea0b
|
Merge branch 'atp' of https://github.com/birarda/hifi into protocol
|
2015-07-28 18:27:24 -07:00 |
|
Atlante45
|
065353eb6b
|
Fix LossList::insert
|
2015-07-28 18:27:02 -07:00 |
|
Stephen Birarda
|
b7d80ca435
|
remove a TODO that is actually done
|
2015-07-28 18:22:33 -07:00 |
|
Stephen Birarda
|
43e81420bd
|
add a TODO for processTimeoutNAK
|
2015-07-28 18:21:32 -07:00 |
|
Stephen Birarda
|
3b7d0ab62a
|
make TODO a TODO
|
2015-07-28 18:21:00 -07:00 |
|
Stephen Birarda
|
e69cc2aae8
|
pass const ref LossList to CongestionControl
|
2015-07-28 18:20:37 -07:00 |
|
Atlante45
|
d31c237cc3
|
Merge branch 'atp' of https://github.com/birarda/hifi into protocol
|
2015-07-28 18:13:10 -07:00 |
|
Atlante45
|
b10396a169
|
Merge branch 'atp' of https://github.com/birarda/hifi into protocol
|
2015-07-28 18:13:02 -07:00 |
|
Stephen Birarda
|
dc65a2fe1a
|
use user defined RTO for timeout (if defined)
|
2015-07-28 18:11:21 -07:00 |
|
Atlante45
|
b5b7fa8504
|
SendQueue uses LossList
|
2015-07-28 18:08:02 -07:00 |
|
Stephen Birarda
|
b9b4245dfe
|
NAK interval is in microseconds
|
2015-07-28 18:05:42 -07:00 |
|
Stephen Birarda
|
cb134f4685
|
remove onPacketSent and onPacketReceived from CC, use setRTT
|
2015-07-28 18:04:18 -07:00 |
|
Stephen Birarda
|
0e0968f748
|
initial support to get CongestionControl down to Connection
|
2015-07-28 17:58:49 -07:00 |
|
Atlante45
|
5d1c0f6935
|
Added pop to loss list
|
2015-07-28 17:56:11 -07:00 |
|
Atlante45
|
1df657c359
|
Added insert function to LossList
|
2015-07-28 17:39:05 -07:00 |
|
Stephen Birarda
|
988bd226ca
|
change SendQueue timing to use usleep and std::chrono
|
2015-07-28 17:16:20 -07:00 |
|
Stephen Birarda
|
05d9845077
|
add counting of total control packets sent/received
|
2015-07-28 17:01:13 -07:00 |
|
Stephen Birarda
|
74b0fa7e87
|
use microseconds for intervals, setup timeout NAKs
|
2015-07-28 16:43:21 -07:00 |
|
Stephen Birarda
|
09a497a59b
|
add default interval values for PacketTimeWindow
|
2015-07-28 16:23:10 -07:00 |
|
Atlante45
|
64e1281d47
|
Restore const, make helper memebers mutable
|
2015-07-28 16:02:33 -07:00 |
|
Stephen Birarda
|
13568d3d69
|
add constants for RTT estimation calculations
|
2015-07-28 15:59:13 -07:00 |
|
Stephen Birarda
|
a49ad92d87
|
use a constant for the bounds for median filtering
|
2015-07-28 15:55:18 -07:00 |
|
Stephen Birarda
|
cfba300786
|
send an unreliable sequence number from Socket
|
2015-07-28 15:51:50 -07:00 |
|
Atlante45
|
8ebdb6d154
|
Merge branch 'atp' of https://github.com/birarda/hifi into protocol
|
2015-07-28 15:48:55 -07:00 |
|
Stephen Birarda
|
ba226d168d
|
remove SeqNum since it is replaced by SequenceNumber
|
2015-07-28 15:48:37 -07:00 |
|
Atlante45
|
747f2b0c07
|
Remove seqcmp declaration
|
2015-07-28 15:48:35 -07:00 |
|
Stephen Birarda
|
65fa4c4e6d
|
add the periodic rate control packet sending
|
2015-07-28 15:47:36 -07:00 |
|
Atlante45
|
c2c188c5dd
|
Remove TODO
|
2015-07-28 15:46:26 -07:00 |
|
Atlante45
|
ffdd54d41f
|
Make sendUnreliable take a non const
|
2015-07-28 15:42:53 -07:00 |
|
Atlante45
|
121b9738a1
|
Merge branch 'atp' of https://github.com/birarda/hifi into protocol
|
2015-07-28 15:33:42 -07:00 |
|
Atlante45
|
24520c5856
|
LNL send cleanup / Added connection hash
|
2015-07-28 15:32:00 -07:00 |
|
Stephen Birarda
|
b0147144cb
|
fix for comment for PacketTimeWindow
|
2015-07-28 15:25:08 -07:00 |
|
Stephen Birarda
|
cf30426636
|
add a PacketTimeWindow to estimate bandwidth and report speed
|
2015-07-28 15:21:17 -07:00 |
|
Stephen Birarda
|
937e46abf2
|
add path to header for LossList
|
2015-07-28 14:28:19 -07:00 |
|
Stephen Birarda
|
e3e8219c11
|
add some comments to help understand the RTT calculation
|
2015-07-28 14:20:51 -07:00 |
|
Atlante45
|
f53637f19e
|
Added SendQueue::getNextSeqNum
|
2015-07-28 14:16:09 -07:00 |
|
Stephen Birarda
|
b6bdcadd33
|
make updateRTT take an int
|
2015-07-28 14:02:13 -07:00 |
|
Atlante45
|
8a474ac20a
|
Merge branch 'atp' of https://github.com/birarda/hifi into protocol
|
2015-07-28 14:01:21 -07:00 |
|
Atlante45
|
ca99699674
|
Implement Packet::setSequenceNumber
|
2015-07-28 14:00:59 -07:00 |
|
Stephen Birarda
|
c17f4b8991
|
add a missing bracket, comment for processACK
|
2015-07-28 13:58:21 -07:00 |
|