zugz (tox)
d75d6e8b60
sort includes
2020-11-14 00:00:05 +00:00
zugz (tox)
142ce642f0
Per-call pending status and state handling
...
* Proper handling of incoming video calls.
* Add command /vcall for initiating video calls
* Add command /res command to set video resolution
2020-11-14 00:00:10 +00:00
jfreegman
68e1ba312d
Use compound literals to zero out structs instead of memset
...
This is cleaner and much less prone to bugs
2020-11-10 21:25:27 -05:00
jfreegman
42763905d7
Replace deprecated usleep function with nanosleep
...
usleep was declared obsolete in POSIX.1-2001
2020-11-04 22:05:59 -05:00
iphydf
b270c1e8b7
Remove extra semicolon in lock/unlock macros.
...
lock/unlock are always expanded in a context followed by a semicolon.
2020-04-23 01:12:34 +00:00
iphydf
6f72a191ba
Revert "Add feature flags and missing #includes."
...
This reverts commit dd5fa236ae
.
Also, set `-std=gnu99` in Bazel build.
2020-04-17 19:37:22 +00:00
iphydf
dd5fa236ae
Add feature flags and missing #includes.
...
These are needed to compile on some strict Linuxes.
2020-04-15 21:34:30 +00:00
jfreegman
ddc8c53abf
Fix unused variable warnings and change all (void)s to UNUSED macro
2020-03-30 16:02:27 -04:00
iphydf
46513017e3
Half-hearted attempt at making toxic work on osx.
...
Video has no chance without X11 for now.
2020-03-30 18:14:43 +00:00
jfreegman
98cb7f58c0
Fix unused parameter and unused result warnings
2020-03-15 14:57:00 -04:00
jfreegman
0fea930c24
Convert deprecated uppercase enums to camelcase
2018-10-10 13:34:17 -04:00
jfreegman
63cc23401a
Improve readability of defines
2018-10-08 13:39:04 -04:00
Leonid Bobrov
f90a774470
Make Toxic easier to port
2018-10-03 22:00:43 +00:00
iphydf
d62902ffb3
Use (void) in prototypes instead of ().
...
Also, removed `__inline` from an extern function (why was it there?).
Also, moved one extern declaration to a header file. There are lots of
these that need to be moved, but one thing at a time.
2018-09-13 23:47:47 +00:00
iphydf
bebff3be0e
Use (void) for empty parameter list in C.
2018-09-08 17:23:07 +00:00
jfreegman
a37bf300f9
Update astylerc to match toxcore & reformat all source files
2018-07-18 11:33:16 -04:00
iphydf
3cd2bc7e3c
Don't compile A/V code if AUDIO/VIDEO are not #defined.
2018-07-06 15:46:12 +00:00
jfreegman
815c29ee31
Significantly reduce time before trying to re-send a message with no read receipt
...
(also some formatting cleanup)
2018-03-03 23:54:12 -05:00
Mateusz Poszwa
0bd5b4ddee
Repair operating system checks ( #474 )
2017-11-16 16:59:51 -05:00
Mateusz Poszwa
351a50c214
Do not assume what is not Linux or a BSD descendant is OSX
2017-11-15 21:02:10 +01:00
aSourceFish
1382adb1f6
Make Toxic compile at NetBSD, STAGE 1
2017-11-15 05:46:47 +02:00
aSourceFish
fec36ad9e6
Make Toxic compile at OpenBSD
2017-11-11 21:03:28 +02:00
Daniel Hoffman
2ede39369a
added /bitrate
2017-07-07 23:47:59 +00:00
Jfreegman
f056f13329
Astyle everything and add an astyle options script to repo
2016-09-24 21:07:04 -04:00
Jfreegman
c24e1bd2b8
Fix a few A/V race conditions
2016-09-22 18:00:14 -04:00
Marin Ivanov
4019395f44
Changed video get format to set format
...
* Fixes issue #394
* This was obviously meant to set the video format.
2016-07-28 17:58:24 +02:00
Jfreegman
ab99c1ac73
Fix building on FreeBSD (courtesy of thierry-FreeBSD)
2015-11-12 05:04:37 -05:00
Jfreegman
05f5f16af3
Fix various video bugs; it should be working now!
2015-11-12 05:01:28 -05:00
Jfreegman
6cc1525daa
Fix some build issues
2015-11-03 23:04:05 -05:00
cnhenry
1606d01158
Implemented video calls for OSX
2015-08-21 00:44:25 -05:00
cnhenry
c8a9ac21f3
Implemented OSX device listing
2015-08-21 00:44:25 -05:00
cnhenry
e91aaf6c73
Refactoring to compliment OSX
2015-08-21 00:44:13 -05:00
cnhenry
929fca3de1
Prevented user from manually closing video windows
2015-08-21 00:44:12 -05:00
cnhenry
b67792f9f2
Clear warnings from device listing fix
2015-08-21 00:44:12 -05:00
cnhenry
96162bf254
Fixed incorrect video device listing
2015-08-21 00:43:47 -05:00
cnhenry
8a66c3fa4c
Changed to toggle video command rather than two separate commands
2015-08-21 00:43:47 -05:00
cnhenry
2cdcbc07a7
Fixed video call receiving issues
2015-08-21 00:43:30 -05:00
cnhenry
6e0d19b01d
Refactored video calls
2015-08-21 00:42:57 -05:00
cnhenry
ad04fa4dcd
Major refactoring and fixes towards AV
2015-08-21 00:42:28 -05:00
cnhenry
c2c612b85a
Fixed v4l2 capture crash, and refactored to prepare for new features
2015-08-21 00:40:09 -05:00
cnhenry
d359ba6a54
Fixed YUV stride issues
2015-08-21 00:38:44 -05:00
cnhenry
54e2fe8d6f
Implemented video frames ready to send through ToxAV. NOTE: Contains YUV stride issues
2015-08-21 00:37:57 -05:00
cnhenry
53353825e2
Implemented /endvideo command
2015-08-21 00:37:57 -05:00
cnhenry
fcdc8e8b67
Fixed incorrect colors during video capture
2015-08-21 00:37:23 -05:00
cnhenry
9b6efb65de
Implemented video preview and preparations for ToxAV
2015-08-21 00:37:23 -05:00
cnhenry
c8ea02376e
Progress on video call windows using X11
2015-08-21 00:36:52 -05:00
cnhenry
2369b5e9e2
Modified header files structuring
2015-08-21 00:36:28 -05:00
cnhenry
8f28f1d748
Progress on implementing v4l2 in video_device.*
2015-08-21 00:36:28 -05:00
cnhenry
a33e5f4bec
Fixes to av.mk
2015-08-21 00:36:13 -05:00
cnhenry
e0a35a6569
Obtain names of video devices using v4l
2015-08-21 00:36:13 -05:00