Commit Graph

2587 Commits

Author SHA1 Message Date
irungentoo
8aa62cfef7
Initialize codec session with right values.
Audio decoder and encoder channel values are sepparate values, the
decoder should be set to the number of channels the other peer has
his encoder set.
2014-07-27 12:51:20 -04:00
irungentoo
26bec89287
Merge branch 'master' of https://github.com/pyruvate/toxcore 2014-07-27 10:24:56 -04:00
irungentoo
6dcd90a116
Only send kill packet when killing established connection. 2014-07-27 10:22:29 -04:00
pyruvate
1e5e8eb2e8 Fixed undefined references from libvpx.so in toxav_basic_test 2014-07-27 16:51:45 +03:00
irungentoo
ab4673e873
Merge branch 'mannol1-master' 2014-07-26 21:26:32 -04:00
mannol
ee3822f24b Fixed buffer overflow 2014-07-27 01:24:28 +02:00
mannol
fc230c8671 Fixed tests and conflicts 2014-07-27 00:26:58 +02:00
mannol
54e7d29589 Make codec settings dynamic 2014-07-26 19:29:49 +02:00
irungentoo
d052bbc3eb
Start sequence number at zero instead of one. 2014-07-25 10:39:34 -04:00
irungentoo
84c28337d2
Fixed crash. 2014-07-24 21:00:42 -04:00
irungentoo
da03feaace
Fixed some issues with queue.
disconnecting then reconnecting right away should no longer kill
audio transmission.
2014-07-24 20:56:07 -04:00
irungentoo
450c503eba
Increased default jitter buffer size by 1. 2014-07-24 20:26:36 -04:00
irungentoo
2d0c503f74
Merge branch 'master' of https://github.com/mannol1/toxcore 2014-07-24 19:50:27 -04:00
irungentoo
443abcfafe
Rewrote audio packet queue.
Audio killing itself after 20 minutes in a call should be fixed.
2014-07-24 19:45:38 -04:00
mannol
7d7cc2dad5 dark forces were very active, so to say... 2014-07-23 21:41:18 +02:00
irungentoo
f6d829d8f0
Merge branch 'split-video' of https://github.com/notsecure/toxcore into notsecure-split-video 2014-07-23 13:32:00 -04:00
notsecure
f6bca8e928 fix warnings 2014-07-23 13:26:55 -04:00
notsecure
fffe72bcaa fix mannol 2014-07-23 13:24:51 -04:00
irungentoo
cc53e9254f
Fixed --disable-epoll making configure fail. 2014-07-22 15:47:06 -04:00
irungentoo
c3818ac91f
Use epoll_create() instead of epoll_create1() for compatibility with
older kernels.
2014-07-22 12:02:24 -04:00
irungentoo
511d197e8c
Fixed warning. 2014-07-22 11:24:47 -04:00
irungentoo
6ede3e8ad4
Merge branch 'master' of https://github.com/mannol1/toxcore 2014-07-22 11:20:55 -04:00
mannol
0cf9f27b70 This should fix test failing 2014-07-21 22:11:59 +02:00
irungentoo
fdb5d890a3
Fixed bug where two Tox clients sometimes didn't reconnect right
after disconnecting due to them getting stuck in a connection loop.
2014-07-21 13:29:36 -04:00
irungentoo
8d15ccc347
Don't set connection to established if packet is kill packet.
Removed now useless defines in network.h
2014-07-21 12:58:28 -04:00
mannol
79115259a8 Fixed conflicts 2014-07-21 04:10:05 +02:00
mannol
2ca2baf120 Updated gitignore to ignore kdevelop directory 2014-07-21 03:16:15 +02:00
irungentoo
b63e4ad88f
LAN discovery should now work on windows machines with multiple
ethernet devices.

Added some code to get real adapter broadcast addresses on windows.
2014-07-20 20:50:53 -04:00
irungentoo
97ad1e62b6
Added addr_parse_ip() to network.h header.
Removed useless semicolons.
2014-07-20 20:08:00 -04:00
mannol
1aeeef58b2 Improved protocol and cleaned code a bit 2014-07-21 01:10:57 +02:00
irungentoo
d5902f1b39
Merge branch 'lllllllleeeeeeeeellllll' of https://github.com/stal888/ProjectTox-Core 2014-07-19 22:34:37 -04:00
stal
cc1466ec09
remove this too 2014-07-19 19:29:56 -07:00
stal
4e85be6a68
declare calculate_sum_sq static inline 2014-07-19 19:18:15 -07:00
irungentoo
8195ade709
Removed useless function. 2014-07-19 22:09:30 -04:00
irungentoo
f0a172f198
Set some functions as static, fixed warning. 2014-07-19 22:08:05 -04:00
irungentoo
9c84b5401c
Spread packets over many TCP relays instead of just using the first one. 2014-07-18 21:34:22 -04:00
irungentoo
733c519601
Build system now automatically enables epoll support in TCP server
when supported.
2014-07-17 20:44:49 -04:00
irungentoo
bcfb1261ac
Fixed possible bug with TCP nonce not getting incremented. 2014-07-16 20:39:58 -04:00
irungentoo
1e69af8cff
Merge branch 'split-video' of https://github.com/notsecure/toxcore 2014-07-16 20:38:53 -04:00
irungentoo
129df0115f
Merge branch 'JFreegman-memleak' 2014-07-16 20:00:04 -04:00
Jfreegman
13b23b1a01
fix memory leak 2014-07-16 18:29:00 -04:00
notsecure
e04fff3eac applied priority queue changes to the TCP client too 2014-07-16 08:33:24 -04:00
irungentoo
0486510edc
Merge branch 'notsecure-split-video' 2014-07-15 20:00:02 -04:00
notsecure
96249e8b02 fixed some issues 2014-07-15 18:22:04 -04:00
notsecure
22d28ddf36 added priority packet system for TCP server 2014-07-15 17:40:21 -04:00
irungentoo
ae7a11cae9
Fixed TCP bug.
Packet was being copied with a wrong, smaller length.
2014-07-15 13:39:32 -04:00
irungentoo
078d60ab92
Fixed bug with TCP.
Don't increment nonce if packet was discarded instead of being sent.
2014-07-15 12:35:57 -04:00
irungentoo
59821d6a5e
Fixed file sending documentation. 2014-07-14 18:36:26 -04:00
irungentoo
32ed095d72
Change connection status before handling data packets. 2014-07-14 18:20:17 -04:00
irungentoo
2ea634ece2
Set packets_left to default non zero values when creating connection. 2014-07-14 16:37:43 -04:00