1
0
mirror of https://github.com/danog/libtgvoip.git synced 2024-11-27 04:34:42 +01:00
Commit Graph

47 Commits

Author SHA1 Message Date
ef0a99fc8c
Refactoring 2020-01-22 12:51:17 +01:00
6b910c44c6
Misc improvements and refactorings 2020-01-22 12:43:51 +01:00
Igor Zhukov
05c83992e5 Merge branch 'public' of https://github.com/grishka/libtgvoip into grishka-public 2019-12-29 15:06:10 +05:00
John Preston
ade9db14ff Fix build for macOS. 2019-11-20 17:25:15 +03:00
John Preston
14df80f181 Use <(libs_loc) opus only on Windows. 2019-11-18 11:44:18 +03:00
John Preston
302d42fc20 Use correct openssl location. 2019-11-06 16:08:24 +03:00
John Preston
6151c18784 Remove OS X 10.6/10.7 and add OS X 10.10/10.11. 2019-11-05 15:25:51 +03:00
Dmitry D. Chernov
f74dcc4820 GYP: Compile with SSE2 on Linux not only C++ but also C sources
This is just like it's done on Windows with the MSVC builds.
2019-07-01 04:54:55 +10:00
Gregory K
5da48491a9
Merge pull request #89 from cher-nov/dynamic_runtime
GYP: Add ability to link with CRT dynamically under Windows
2019-06-30 05:11:43 +03:00
Dmitry D. Chernov
15ea155d7c GYP: Add ability to link with CRT dynamically under Windows
This is required to link libtgvoip with the Python extension when compiling it by 'distutils'.
2019-06-30 03:10:58 +10:00
Dmitry D. Chernov
600e8cd6a6 GYP: Style fixes 2019-06-30 03:02:28 +10:00
Dmitry D. Chernov
59e7e5e37b GYP: Add missing 'iphlpapi' library to the list of libraries on Windows
This fixes compilation of libtgvoip outside of the Telegram Desktop project.
libtgvoip uses 'GetAdaptersAddresses' function, which requires 'iphlpapi' to be linked with.
Telegram Desktop specifies 'iphlpapi' in tdesktop:Telegram/gyp/settings_win.gypi file.
2019-06-30 01:41:07 +10:00
Dmitry D. Chernov
ae8ce4c1cd Add missing AudioCallbackIO sources to libtgvoip.gyp
This fixes compilation of GYP-generated project with TGVOIP_USE_CALLBACK_AUDIO_IO being defined.
2019-06-29 18:50:08 +10:00
John Preston
0e92a22746 Use non-installed OpenSSL in Windows. 2019-06-24 13:42:33 +02:00
John Preston
a19a0aff64 Disable some code for macOS for now. 2019-05-28 13:30:27 +02:00
Grishka
f7ff6409df I tried so hard, and got so far
But in the end, it doesn't even matter

😭
2019-04-15 02:43:10 +03:00
John Preston
e701050621 Update to VS 2019. 2019-04-03 22:20:00 +04:00
Grishka
16711e2023 fix for real this time 2019-03-19 13:42:18 +03:00
Grishka
071fc786eb TDesktop mac app store fix 2019-03-19 13:24:49 +03:00
Grishka
b6ac291101 Fixed build on old OS X 2019-03-12 20:35:42 +03:00
Grishka
b22fed62e6 Fix 2019-03-12 16:28:24 +03:00
Grishka
bfa92bd59c Updated projects 2019-03-12 16:15:22 +03:00
Grishka
f4c4f792d1 Collect packet stats and accept json string for server config 2018-11-30 15:39:52 +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
John Preston
a7ee511d79 Merge remote-tracking branch 'origin/tdesktop' into HEAD 2018-11-09 20:10:19 +04: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
John Preston
9b292fdbc8 Fix warning in Xcode 10. 2018-09-18 19:52:01 +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
342cc5a295 2.1 2018-06-04 22:37:43 +03:00
John Preston
3d82d03bbb Merge remote-tracking branch 'upstream/public' into tdesktop 2018-05-07 00:05:51 +03:00
Marco Trevisan
01f70942e1
libtgvoip.gyp: only enable -msse2 for i686 2018-02-19 00:25:55 +01:00
Marco Trevisan
b1b83c6f3b
libtgvoip.gyp: use uname -m to get architecture 2018-02-17 17:51:14 +01:00
Marco Trevisan (Treviño)
dc8298ace2 libtgvoip: use SSE2 cflags only in supported archs
Without this libtgvoip won't compile in ARM CPUs
2018-02-09 03:07:14 +01:00
John Preston
651594b3ce Improve paths for Xcode build. 2017-10-13 15:10:25 +03:00
John Preston
9f78cb85e5 Fix GYP build in macOS. 2017-09-06 13:02:24 +03:00
John Preston
cf8da57255 Migrate to VS2017. 2017-09-05 20:44:40 +03:00
Grishka
bfd5cfecb3 - Use VoiceProcessingIO on OS X 10.7 and higher
- Apply AGC after AEC/NS to work around loud echo on desktops
- Fixed (?) mic muting on Windows
2017-08-01 20:17:44 +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
233398c784 Probably fixed echo cancellation 2017-05-18 19:11:12 +03:00
Grishka
6dcf281d24 Added PulseAudio on Linux
Fixes on WinRT
2017-05-12 19:29:35 +03:00
John Preston
d09c2ebe35 Allow to set opus include dir in GYP. Fix travis-ci build. 2017-05-10 15:03:17 +03:00
John Preston
61eeaba937 Compile with SSE2 instead of SSE4.1 on Linux. 2017-05-10 11:59:00 +03:00
John Preston
ccdb6af389 Fix build on 32 bit Linux. Fix crash on network error. 2017-05-10 10:05:43 +03:00
John Preston
98e75f1310 Improve .gyp project for TDesktop submodule. 2017-05-08 15:20:38 +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
510a977ff0 Added WASAPI audio I/O implementation for Windows >= Vista (desktop only for now)
Added device selection on Linux
Bugfixes
2017-05-05 00:44:23 +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