1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
Commit Graph

60 Commits

Author SHA1 Message Date
Alexandr Kutuzov
b71589175e cleanup io, replace C-style memory allocation with C++ one 2014-07-19 01:36:02 +09:00
Alexandr Kutuzov
8be80bb5ea audio fully working 2014-07-14 22:16:44 +09:00
Alexandr Kutuzov
9ae4a0a79c mac os build settings, audio io refactoring initial stage 2014-07-14 06:03:36 +09:00
Tux3 / Mlkj / !Lev.uXFMLA
f173a5dfa9 Fix FT progressbar int overflow 2014-07-12 18:40:01 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
dc2d7f1085 Various improvement
Aka this commit is a mess, if you're bissecting this, good luck :)
2014-07-12 17:42:41 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
ae1ce8ec88 Preparation for new file transfer 2014-07-12 17:29:56 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
e92ded47ab Improve video playing speed 2014-07-12 14:52:01 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
5458b4b3ee Drop video frames when lagging
Aka, all the time. We only drop received frames, we never stop sending
2014-07-12 14:10:24 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
457a54d591 Fix video sending 2014-07-12 12:50:40 +02:00
Bill Winslow
e0b6fd1e13 Remove username and status message from settings, instead use Core 2014-07-11 16:38:39 -04:00
Bill Winslow
26f2f143fa Initial commit for activating the file transfer button
It compiles, but is in fact untested (and requires one small new icon)
2014-07-11 12:05:18 -04:00
Tux3 / Mlkj / !Lev.uXFMLA
e3736cf14d Fix possible crashes on call cleanup 2014-07-09 10:37:46 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
d46e01e2cf Fix audio underflows
By using a bigger buffer of 30 frames
2014-07-09 10:12:59 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
2c0db0c7c0 Update to new A/V recv callbacks 2014-07-09 09:55:25 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
b3b01906f7 Don't give a parent to the core QTimers
Fixes #115 (hopefully)
2014-07-07 09:37:05 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
6ba8be3503 Fix stack smashing, QTimer threading
QTimer CAN NOT be handled from a different thread, we needed to push them to the Core's thread

Allocating a large video frame buffer on the stack is a Bad Idea(tm), this commit fixes a bad buffer overflow

Also improve our QTimer handling during calls, no need to disconnect/reconnect on call start/end, once is enough, and no need to keep them on the stack
2014-07-07 00:12:07 +02:00
Kevin Flynn
cfbc73e435 Fix #97 2014-07-05 20:47:31 -07:00
Tux3 / Mlkj / !Lev.uXFMLA
fce95e9637 Don't write tox_save when unnecessary
Fixes #76 and makes the GUI noticeably faster on slow hard drive.
2014-07-05 06:25:17 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
0a41c0d712 Merge PR57 2014-07-04 16:24:27 +02:00
Kevin Flynn
16df8e553e Save on event instead of timer trigger 2014-07-03 10:38:30 -07:00
Arne Böckmann
1d216d0ee3 FIX: const correctness 2014-07-03 09:22:12 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
2e2e61962d Add option to disable IPv6
Fixes #50
2014-07-02 00:47:06 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
e218b07ab8 Enable IPv6, needed for LAN discovery 2014-07-02 00:27:33 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
b1b9aab8e2 Restore sleep in audio recording 2014-07-02 00:27:14 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
bdeba98f1b Cancel sleeping in audio recording 2014-07-02 00:18:20 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
8f55dae70b Try to fix audio on windows 2014-07-02 00:11:41 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
b0816696fa Prevent audio encoding CPU exhaustion
No need to encode too much audio if we're not going to take th time to send it. opus_encode is really slow
2014-07-01 23:55:08 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
a83c35c95b Stop calls after timeout 2014-07-01 21:16:17 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
8f09d11940 Fix transmission type detection
Third parameter MUST be 0. Don't ask why.
2014-07-01 19:56:08 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
70be64bff6 Disable IPv6 2014-07-01 13:36:27 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
74fc6991cc Fix #38 2014-07-01 10:37:39 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
73e3afe932 Fix some A/V bugs 2014-06-30 23:48:12 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
58cfae38ab Fix warnings, typos 2014-06-30 22:52:03 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
a3b20ee81e Fix crash when saving before start 2014-06-30 21:26:37 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
b547cdbaea Don't override tox_save's name/status
Fixes #32
2014-06-30 20:53:29 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
aabc8367bb Video (both ways)
May or not work, depending on the camera, time of day, phases of the moon, and distance to the closest uTox installation
2014-06-30 16:18:14 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
b394372ad0 Add video reception 2014-06-30 14:49:42 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
3fde891b91 EXPERIMENTAL video call reception
Can not send video in calls, just receive and play it

Known bug : The video isn't converted perfectly to RGB, there are some visible errors
2014-06-30 04:40:18 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
2efe9ac269 Add unicode font, fix mem corruption
Or at least, make the memory corruption so hard to reproduce that I wasn't able to run into it even after trying really hard.
2014-06-30 04:40:18 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
a2566d4183 Allow groupchat creation 2014-06-29 23:38:48 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
1e88fb519b Fix audio calls on Windows 2014-06-28 22:24:39 +02:00
Kevin Flynn
4d7c5f71f6 Use the default Tox save file 2014-06-28 10:09:16 -07:00
Tux3 / Mlkj / !Lev.uXFMLA
f906d5b8f4 Add group invite context menu to friends 2014-06-28 10:53:55 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
6b744ca15e Audio calls, both ways 2014-06-27 21:59:25 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
67f2367c9d Fix crash when freed friend gets inactivated 2014-06-27 20:24:06 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
104b874cb5 Stop trying to play audio in dead calls 2014-06-27 19:01:10 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
f5a628fafb Audio call reception
Can hear, but can't talk

Uses a hardwired tox_do() interval of 50ms until to_do_interval() gets fixed
2014-06-27 19:01:10 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
b8af78be32 EXPERIMENTAL audio reception in calls
As in, some sounds comes out of your speakers
2014-06-27 15:16:39 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
6114cb66c6 Send empty calls (no sound nor video) 2014-06-27 03:06:56 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
5784b58610 Receive empty calls (no sound nor video) 2014-06-27 02:08:33 +02:00