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

95 Commits

Author SHA1 Message Date
Grishka
40c8685e77 Version 2019-03-11 01:34:58 +03:00
Grishka
a6e6ed5825 Fix FEC packet loss percent for libopus 1.3
Also make opus in-band FEC less aggressive
2019-03-11 01:12:09 +03:00
Grishka
6e7384d5a8 Debug stats 2019-02-12 16:17:01 +03:00
Grishka
3a58a16194 2.4.3 2019-02-05 14:41:00 +03:00
Grishka
12e76ed3db better logging 2019-01-03 16:51:44 +03:00
Grishka
a1df90f286 Set preferred audio session parameters on iOS
+ build bixes
2018-12-31 18:27:00 +03:00
Grishka
8fd89fc173 Fixes, mic level testing and volume adjustment 2018-12-30 02:24:55 +03:00
Grishka
fed3bb73ee Detect when proxy does not support UDP and persist that across calls 2018-12-19 19:51:45 +03:00
Grishka
6d03dd9ae4 version 2018-12-19 05:11:50 +03:00
Grishka
f1b9e63e0c packet logging 2018-12-19 05:10:25 +03:00
Grishka
beeea45d2e I apparently still suck at C++ memory management 2018-12-12 03:29:31 +03:00
Grishka
f4c4f792d1 Collect packet stats and accept json string for server config 2018-11-30 15:39:52 +03:00
Grishka
78e584c443 New protocol version: optimized packet size 2018-11-23 04:03:16 +03:00
Grishka
5caaaafa42 Updated WebRTC APM
I'm now using the entire audio processing module from WebRTC as opposed to individual DSP algorithms pulled from there before. Seems to work better this way.
2018-11-23 04:02:53 +03:00
Grishka
02f4835e31 Rearranged VoIPController methods and added sections 2018-11-23 04:02:34 +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
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
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
697eea96aa 2.1.1: a bunch of fixes
- Enabled delay-agnostic AEC on Windows & Linux, it seems to make a difference after all (telegramdesktop/tdesktop#4881)
- Fixed PulseAudio crashes, at least I hope so (closes #42)
- Fixed parsing of floating-point server config values in some locales in Linux
2018-07-02 00:42:49 +03:00
Grishka
9f4bc6786d Fix of a fix 2018-06-04 23:02:49 +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
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
55c2202937 Fixes 2017-12-27 21:25:47 +04:00
Grishka
620da00fb6 Use larger buffer for audio capture on OS X because 10 kb was apparently not enough in some cases 2017-09-21 16:16:37 +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
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
cd8d78b366 Added TCP fallback
Support for Windows Phone Silverlight
Various fixes
2017-06-06 04:44:16 +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
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