1
0
mirror of https://github.com/danog/libtgvoip.git synced 2024-11-30 04:39:03 +01:00
Commit Graph

99 Commits

Author SHA1 Message Date
Grishka
02f4835e31 Rearranged VoIPController methods and added sections 2018-11-23 04:02:34 +03:00
Grishka
81daf3f26c fix 2018-11-14 23:54:44 +03:00
Grishka
b1a0b3d94a 2.3
- Nonblocking sockets
- Better ShittyInternetMode
- Fixed a bunch of bugs
- Probably added some new bugs too
2018-11-09 18:44:01 +03:00
Grishka
14d782bf9f Fixes
This makes some parts of #53 unnecessary, sorry Fela
2018-09-16 23:38:52 +03:00
Grishka
9a1ec510e2 Fixed build for Windows Phone, fixed some warnings 2018-09-08 22:26:54 +03:00
Grishka
4aea54fb5c fix 2018-09-08 14:15:48 +03:00
Grishka
64f14585e7 2.2.4
- Added tests (using xcode)
- Added a define to enable callback-based audio I/O instead of using actual audio devices
- Fixed a crash on Windows when there's no access to the microphone
- Misc fixes
2018-09-01 01:59:09 +03:00
Grishka
31fe4afdd0 windows fixes 2018-08-28 23:55:21 +03:00
Grishka
bfa1e6ab76 Proxy fix 2018-08-27 14:39:27 +03:00
Grishka
23ae67306d closes #50 2018-08-24 18:38:09 +03:00
Grishka
1ca50fdce7 fixes again 2018-08-24 02:31:27 +03:00
Grishka
529a3bf14f 2.2.2: more fixes
- Probable fix for a mysterious crash in WASAPI
- Hopefully fixes telegramdesktop/tdesktop/4219 by setting PA stream role and bypassing filters
- Outgoing packet queue now uses Buffer instead of BufferPool
2018-08-07 23:10:31 +03:00
Grishka
3334409ac7 2.2.1: bug fixes 2018-08-03 17:26:00 +03:00
Grishka
8faf6f6700 Fixes 2018-07-29 21:21:34 +03:00
Grishka
5380aaba0d 2.2
- Refactored audio I/O to allow sharing a common context between input and output, for those OSes that require this
- Rewritten periodic operation handling to use a "run loop" thingy instead of an ugly loop formerly known as tick thread
- Fixed a bunch of compiler warnings (closes #13)
- Added automake so you no longer need to use the GYP file for standalone builds (closes #43)
2018-07-17 19:48:21 +03:00
Grishka
a80548e95f Fixes 2018-06-12 17:41:55 +03:00
Grishka
fc9b6175b0 Fixes 2018-06-04 22:59:58 +03:00
Grishka
342cc5a295 2.1 2018-06-04 22:37:43 +03:00
Grishka
5ae5b34cc7 fix 2018-06-01 23:06:27 +03:00
Grishka
83ac2c603b Fixes 2018-05-28 02:17:22 +03:00
Grishka
d2453dd1d0 Synchronize audio I/O creation & deletion 2018-05-25 22:14:45 +03:00
John Preston
00851dc634 Fix build for Windows. 2018-05-24 19:49:58 +03:00
Grishka
b52eb581fa 2.0-alpha4 2018-05-15 21:23:46 +03:00
Grishka
a3feec022c Fix 2018-05-10 15:33:14 +03:00
Gregory K
3511a42d3d
Merge pull request #31 from mymedia2/patch-1
Remove deprecated call of AES_ctr128_encrypt
2018-04-07 14:13:55 +03:00
Grishka
55c2202937 Fixes 2017-12-27 21:25:47 +04:00
Nicholas Guriev
b0c6da9bdc Add extern "C" wrapper
It perhaps fixes build failure against ancient OpenSSL.

See also: https://github.com/openssl/openssl/commit/17e80c6
2017-12-08 23:16:12 +03:00
Grishka
d348e56436 Added AGC on audio output because some echo cancellation implementations don't like loud audio in speakerphone mode; this should only be enabled when using the earpiece speaker, on devices that have one. Also, the AGC on the input is now configured with a much lower target level. 2017-09-07 08:39:33 +03:00
Grishka
dc913a843a Added signal bars & fixed OSX project 2017-08-21 19:02:37 +03:00
Nicholas Guriev
f2e246c1bf Remove deprecated call of AES_ctr128_encrypt
* The AES_ctr128_encrypt function is not available in OpenSSL 1.1.0
   without a special compiler flag
 * Fix a small misspelling
2017-07-06 23:26:40 +03:00
Grishka
445433f4f0 Proxy fix 2017-07-04 03:04:59 +03:00
Grishka
1be4d016a4 Refactor all the things!
- Added support for SOCKS5 proxy
- Also, a bunch of bugfixes
2017-07-03 04:42:49 +03:00
Grishka
ba19486ef4 Fixes 2017-06-07 18:47:31 +03:00
Grishka
cd8d78b366 Added TCP fallback
Support for Windows Phone Silverlight
Various fixes
2017-06-06 04:44:16 +03:00
Grishka
6883bbf5d6 A better way to load libpulse. Also, device enumeration using it.
Bugfixes
2017-05-24 03:31:35 +03:00
Grishka
3216b76349 v0.4.1
Better jitter buffer with packet rescaling
Tried to fix some issues on Linux (telegramdesktop/tdesktop#3413)
Fixes for Windows Phone
2017-05-21 17:50:23 +03:00
Grishka
73bf810c79 Better estimation of audio delay for AEC 2017-05-14 16:28:17 +03:00
John Preston
ccdb6af389 Fix build on 32 bit Linux. Fix crash on network error. 2017-05-10 10:05:43 +03:00
Grishka
78ccec1645 Probably fixed a nasty crash 2017-05-10 03:09:24 +03:00
Gregory K
c1f89665e0 Merge pull request #11 from telegramdesktop/tdesktop_warnings
Fix several compiler warnings.
2017-05-10 02:28:55 +03:00
Grishka
ee461782fa Fixed crash on Windows if there's no mic/speaker in the system 2017-05-10 02:28:20 +03:00
John Preston
0f9cbbff83 Fix several compiler warnings. 2017-05-09 22:37:06 +03:00
Grishka
5109903e02 Logging to file(s) now works on all systems and logs now contain OS version in their header
On OS X, audio now plays only out of the right speaker on MacBook Pro's to avoid insane echo when using built-in speakers
Fixed crash on Linux
2017-05-06 02:18:34 +03:00
Grishka
697e250727 Finished moving things around, all classes are now in tgvoip
Replaced condition variables with semaphores
Audio device enumeration & selection on OS X and Windows
2017-04-28 14:17:56 +03:00
Grishka
bfde1a4be3 Update to v0.4
Moved public API classes into namespace tgvoip (CVoIPController -> tgvoip::VoIPController, CVoIPServerConfig -> tgvoip::ServerConfig)
Endpoint is now a class instead of a struct; also, IP addresses are now wrapped into objects instead of relying on in_addr and in6_addr
Full Windows port (Win32 threading + Winsock + WaveOut/WaveIn)
Added support for ALSA audio I/O on Linux (closes #2)
Abstracted away low-level networking to make it more portable
Minor bugfixes
2017-04-17 21:57:07 +03:00
Grishka
333c4a1101 Added working audio i/o for OS X
Added simple audio resampler
Replaced prebuilt static libs with their sources & added that to all project files (closes #5)
2017-04-09 19:14:33 +03:00
Grishka
51047ddada 0.3.2 2017-03-31 08:33:30 +03:00
Grishka
eb813e1d13 updated to 0.3.1 2017-03-30 17:06:59 +03:00
Grishka
2027dabd60 Initial public release 2017-02-02 19:24:40 +03:00