Clement
5c42838261
Change timeouts to try to prevent ICE disconnects
2019-05-08 18:38:35 -07:00
Simon Walton
a5e94eea75
Increase ping interval for unconnected Nodes
2019-04-11 17:36:09 -07:00
Clement
f163bbc0d5
Sample connections stats every seconds
2019-01-03 10:04:38 -08:00
Clement
3eb7c80af3
Fix BandwidthRecorder storage concurrent accesses
2018-10-08 13:45:34 -07:00
Simon Walton
efb1fdbc0d
Local IDs - add an explicit null value, use it for replicated packets
2018-03-30 18:29:26 -07:00
Simon Walton
bed4033554
Local node IDs now working correctly
...
Move typedef to single location; fixes for replicated packets
(probably still not correct); reserve zero as local ID;
pass domain server's local ID in domain server list;
other tweaks.
2018-03-27 18:18:14 -07:00
Simon Walton
b5f165d481
Store a short ID with the Node on the domain-server side
2018-03-23 16:55:19 -07:00
Stephen Birarda
aeb3f443f8
address code review comments
2017-06-21 16:14:14 -07:00
Stephen Birarda
10649c8f6e
change new Node flag to isForcedNeverSilent
2017-06-14 17:20:37 -07:00
Stephen Birarda
224a559602
keep downstream nodes around in domain, alive in upstream
2017-06-14 17:17:14 -07:00
Atlante45
d938e518a0
Start new hole punch when the socket is updated
2016-09-06 10:16:00 -07:00
Stephen Birarda
bc0b3b38b3
remove narrowing conversion for ICE_SERVER_DEFAULT_PORT
2016-04-14 12:25:47 -07:00
Stephen Birarda
34b8fca83b
add socketActivated signal to NetworkPeer for punch success
2015-11-17 15:04:31 -08:00
Stephen Birarda
9079f891e9
repair broken node bandwidth stats
2015-10-06 14:09:21 -07:00
Atlante45
236c097853
Bit of code cleanup
2015-07-29 12:30:55 -07:00
Stephen Birarda
487f9dc45d
add atomic include for NetworkPeer
2015-07-17 16:17:10 -07:00
Stephen Birarda
990f7b7332
changes for new packet receive API
2015-07-10 16:45:44 -07:00
Stephen Birarda
265e0f3da6
remove NetworkPeer dtor debug, fix ICE socket
2015-05-28 16:44:34 -07:00
Stephen Birarda
9d2e1773a0
fix memory issues for immediate ice pings
2015-05-28 15:31:21 -07:00
Stephen Birarda
e096cbe040
have ice-server immediately send peer to DS
2015-05-28 14:25:18 -07:00
Stephen Birarda
eb6b80133b
immediately ping the ICE DS every 25ms
2015-05-28 13:17:48 -07:00
Stephen Birarda
81c23e9ca0
output if pinged node cannot be reached
2015-05-28 11:22:27 -07:00
Stephen Birarda
0cb67cce2c
add ping timer tied to NetworkPeer
2015-05-27 18:22:23 -07:00
Stephen Birarda
4c4af81d3d
fix kbps comment in NetworkPeer
2015-04-30 08:58:26 -07:00
Stephen Birarda
3a10da688f
switch the avatar stat to kbps
2015-04-30 08:56:08 -07:00
Brad Davis
6415ff99f6
Work in progress
2015-03-17 12:04:04 -07:00
Stephen Birarda
d9e0c91e02
remove a peer in domain-server after max connection attempts
2014-10-03 09:45:44 -07:00
Stephen Birarda
c7aaf0ce4a
handle ping out from node requiring ice connection to domain
2014-10-02 16:24:46 -07:00
Stephen Birarda
c36774e85d
handle ice response packet in domain handler
2014-10-02 16:05:15 -07:00
Stephen Birarda
956c212db2
manage sets of potential connections in ice server
2014-10-02 15:24:23 -07:00
Stephen Birarda
d26a94f84c
remove inactive peers from memory in IceServer
2014-10-02 15:00:59 -07:00
Stephen Birarda
970ba2296a
initial response from ice server to nodes
2014-10-02 14:50:48 -07:00
Stephen Birarda
6425276eb0
have domain-server using full networking heartbeat with ice-server
2014-10-02 14:33:39 -07:00
Stephen Birarda
cca1c30207
build out more of the ice-server, make connect requests from NodeList
2014-10-02 13:39:58 -07:00
Stephen Birarda
e0a721209a
add a Node superclass to handle P2P connection
2014-10-02 09:55:00 -07:00