2fcbc4fa1c
Remove lots of duplicate code related to printing timestamps
2020-11-30 17:55:57 -05:00
d75d6e8b60
sort includes
2020-11-14 00:00:05 +00:00
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
daf794c4a2
Rework audio device handling
...
We now have at most one input and one output device open at any time,
but can have multiple capture callbacks and multiple output sources.
2020-11-14 00:00:01 +00:00
610906d07f
fix segfault on starting video
2020-04-17 00:00:00 +00:00
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
dd5fa236ae
Add feature flags and missing #includes.
...
These are needed to compile on some strict Linuxes.
2020-04-15 21:34:30 +00:00
98cb7f58c0
Fix unused parameter and unused result warnings
2020-03-15 14:57:00 -04:00
0fea930c24
Convert deprecated uppercase enums to camelcase
2018-10-10 13:34:17 -04:00
63cc23401a
Improve readability of defines
2018-10-08 13:39:04 -04:00
bebff3be0e
Use (void) for empty parameter list in C.
2018-09-08 17:23:07 +00:00
20b5e46850
Rename callback implementations to be of the form on_$event
.
...
So it's easy to map from implementation to the event without looking at
the `tox_callback_*` calls.
2018-07-18 17:06:28 +00:00
a37bf300f9
Update astylerc to match toxcore & reformat all source files
2018-07-18 11:33:16 -04:00
3cd2bc7e3c
Don't compile A/V code if AUDIO/VIDEO are not #defined.
2018-07-06 15:46:12 +00:00
a290f0f7f8
Update toxav API calls
2018-02-24 15:38:07 -05:00
fe6a7074ea
Dynamically allocate audio calls structure
...
This fixes a bug that caused a segfault when attempting to call a friend with a
friend number above the MAX_CALLS limit
2017-11-20 07:02:56 -05:00
f056f13329
Astyle everything and add an astyle options script to repo
2016-09-24 21:07:04 -04:00
05f5f16af3
Fix various video bugs; it should be working now!
2015-11-12 05:01:28 -05:00
fa0e645a79
Fix a bunch of misc bugs and corner cases
2015-11-08 03:57:01 -05:00
f707dce2da
Disable recv video callback for now
2015-11-05 15:49:35 -05:00
0d07d14b13
Remove unnecessary/misleading line print
2015-11-05 15:28:24 -05:00
49f5efaab0
A couple audio fixes (ugly but works)
...
- You will now receive an incoming call even if the caller's chat window is not opened
- Callbacks should all be working now
- Disable video command as video is currently broken
2015-11-03 20:36:41 -05:00
abfdbfe468
Fix some new AV api changes
2015-10-20 17:59:14 -04:00
e91aaf6c73
Refactoring to compliment OSX
2015-08-21 00:44:13 -05:00
619fdc1098
Refactored cmd_video function
2015-08-21 00:44:12 -05:00
929fca3de1
Prevented user from manually closing video windows
2015-08-21 00:44:12 -05:00
96162bf254
Fixed incorrect video device listing
2015-08-21 00:43:47 -05:00
8a66c3fa4c
Changed to toggle video command rather than two separate commands
2015-08-21 00:43:47 -05:00
2cdcbc07a7
Fixed video call receiving issues
2015-08-21 00:43:30 -05:00
6e0d19b01d
Refactored video calls
2015-08-21 00:42:57 -05:00
ad04fa4dcd
Major refactoring and fixes towards AV
2015-08-21 00:42:28 -05:00
c2c612b85a
Fixed v4l2 capture crash, and refactored to prepare for new features
2015-08-21 00:40:09 -05:00
d359ba6a54
Fixed YUV stride issues
2015-08-21 00:38:44 -05:00
54e2fe8d6f
Implemented video frames ready to send through ToxAV. NOTE: Contains YUV stride issues
2015-08-21 00:37:57 -05:00
53353825e2
Implemented /endvideo command
2015-08-21 00:37:57 -05:00
9b6efb65de
Implemented video preview and preparations for ToxAV
2015-08-21 00:37:23 -05:00
c8ea02376e
Progress on video call windows using X11
2015-08-21 00:36:52 -05:00
2369b5e9e2
Modified header files structuring
2015-08-21 00:36:28 -05:00
8f28f1d748
Progress on implementing v4l2 in video_device.*
2015-08-21 00:36:28 -05:00
43bda5f7d9
Refactoring and fix related to invite callback not being fired
2015-08-21 00:14:03 -05:00
f2121fae74
Implemented audio calls using new ToxAV API
2015-08-21 00:14:03 -05:00
3241551cfb
Began conversion of audio code to new ToxAV API
2015-08-21 00:14:03 -05:00
6e90072fb8
Implemented OpenCV demo to demonstrate video device listing and set up code structure for video
2015-08-21 00:14:03 -05:00