Eniz Vukovic
90b1ca8727
Fix setting resolution for vpx v1.4 (or newer i suppose)
2015-10-23 22:53:56 +02:00
Eniz Vukovic
8f130b6f25
Remove old comment
2015-10-11 00:41:34 +02:00
Eniz Vukovic
d6fdf16520
New Adaptive BR algorithm, cleanups and fixes
2015-10-10 23:54:23 +02:00
mannol
0be0e88f3e
Remove empty lines
2015-08-09 12:02:52 +02:00
mannol
12d3f9396b
Fix possible double free
2015-08-09 11:57:39 +02:00
mannol
3c8cae72d0
Removed redundant function from video.[h|c]
2015-08-08 17:45:24 +02:00
mannol
6c126e34e6
Implement handling capability change on rtp level
2015-06-30 01:41:38 +02:00
mannol
2ecb71bb1e
Renamed TOXAV_CALL_STATE to TOXAV_FRIEND_CALL_STATE
2015-06-27 17:28:07 +02:00
mannol
08bc4eb0e0
Added payload turning off by setting bit rate to 0
2015-06-27 01:55:28 +02:00
mannol
9aba4ec273
Random fixes
2015-06-25 01:04:31 +02:00
mannol
d694839d60
Rebased on master and removed alpha channel (again)
2015-06-05 22:14:37 +02:00
mannol
3100042a2b
Updated with master
2015-05-22 23:22:31 +02:00
mannol
64037017cc
Fix bug
2015-05-12 22:16:00 +02:00
irungentoo
b2350f2e26
Check if call supports video encoding before encoding frame.
2015-05-09 16:09:48 -04:00
mannol
73fbc22961
Fixed inconsistencies
2015-05-07 23:14:03 +02:00
irungentoo
048d793021
Toxav fix.
...
Use stored image width instead of displayed image width.
2015-05-05 16:12:09 -04:00
mannol
eb6e8aa290
Fixed* api comments and some bugs
2015-05-01 22:29:25 +02:00
mannol
b2b11f0fba
Added many test and fixed various warnings
2015-04-30 00:40:30 +02:00
mannol
9bba7a0434
Done
2015-04-29 01:01:25 +02:00
mannol
e4a020333d
working av new api
2015-04-28 00:55:57 +02:00
mannol
27e0254a98
Almooooooost
2015-04-27 00:15:57 +02:00
mannol
144fc94d69
Almost done
2015-04-26 00:31:03 +02:00
mannol
1bfd93e64a
Finished refactoring
2015-04-22 02:09:37 +02:00
mannol
3fd0ee5f08
Final touchups
2015-04-21 02:31:12 +02:00
mannol
eb9f4ad592
Fix toxav callback
2015-04-18 19:08:18 +02:00
mannol
d1fd3e36a6
Updated with upstream
2015-04-17 19:19:58 +02:00
mannol
969367b72a
Update latest
2015-04-17 15:55:02 +02:00
mannol
da6c17222f
The pretty basic adaptive bitrate is *working*
2015-04-16 02:00:34 +02:00
mannol
2465f486ac
Started custom RTCP
2015-04-13 01:45:53 +02:00
mannol
b2d88a4544
Random fixes
2015-04-11 02:07:54 +02:00
mannol
4fa31d14cf
Make it possible to decode mono audio with stereo decoder
2015-04-09 02:43:13 +02:00
mannol
9c003c9dd2
Video works now
2015-04-08 01:00:19 +02:00
mannol
bf9f7e2ae8
Video works but there is one deadlock left and video replay is slow
2015-04-07 01:24:36 +02:00
mannol
62c4fd7409
Video preview works (lmao)
2015-04-02 02:04:45 +02:00
mannol
fdaad0b7c0
A little CS cleanup
2015-03-29 01:10:34 +01:00
mannol
e65efc8936
Improvement in test and removed some bloat from CS
2015-03-28 03:36:31 +01:00
Dubslow
56e5373a11
Consistency with core api
2015-03-25 14:55:42 -05:00
mannol
96ca88a0d6
Make it possible to change channels/sample rate of the decoder
2015-03-23 23:38:04 +01:00
mannol
995bddbc26
Audio works in test
2015-03-23 22:22:17 +01:00
mannol
62af82705a
Some progress
2015-03-22 23:50:43 +01:00
mannol
45e8807c1e
Make toxav thread safe
2015-03-01 18:45:04 +01:00
irungentoo
ca997bda70
toxav new api fixes.
2015-02-25 20:51:37 -05:00
mannol
9e65cd5337
Implement pausing
2015-02-24 23:27:20 +01:00
mannol
29601feb76
New msi protocol
2015-02-21 01:07:22 +01:00
mannol
efe31ec92f
Removed extra msi header and started testing
2015-02-20 00:23:38 +01:00
mannol
6e259d5fcb
Msi should be done; toxav.c need a cleanup and adjustments
2015-02-18 23:23:46 +01:00
mannol
483a6ffa32
Added 2 new headers into msi for buffer control
2015-02-17 23:34:40 +01:00
mannol
7329f3b3d4
Fixed header protectors and cleaning up the msi
2015-02-16 23:30:20 +01:00
mannol
8c245affb1
Started adjusting msi backend to new api
2015-02-15 22:41:10 +01:00
mannol
aad857527c
Control part of new api already kind of works
2015-02-14 23:37:52 +01:00
mannol
39680f31d0
Progress
2015-02-01 23:43:54 +01:00
mannol
1450c22d01
Current progress
2015-01-24 23:29:54 +01:00
mannol
e57fb8c12e
Progress
2015-01-17 18:22:20 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
4f4967a45e
toxav_prepare_transmission: More descriptive error
...
When trying to prepare an already active call, return av_ErrorAlreadyInCallWithPeer not av_ErrorNoCall
2015-01-04 18:35:50 +01:00
irungentoo
9da75d009f
Cut one on one default audio bitrate by half.
2014-12-17 20:52:39 -05:00
irungentoo
ecba631493
Fixed some A/V threading issues.
...
Audio dropping on video calls issue should no longer happen.
2014-12-16 16:10:48 -05:00
irungentoo
f6b3e6e8fe
Fixed possible threading issues.
2014-12-03 14:41:01 -05:00
irungentoo
be9c6f88d3
Fixed possible threading issue.
2014-12-03 13:52:18 -05:00
irungentoo
e254c4fe3e
Fixed bug where video didn't work anymore.
...
Some other cleanups.
2014-11-29 16:09:50 -05:00
irungentoo
8deb032b2d
Merge branch 'mutex-1' of https://github.com/mannol/toxcore
2014-11-29 16:09:24 -05:00
mannol
e62ded3a6d
More av cleanup
2014-11-29 13:42:19 +01:00
irungentoo
db68c6eff6
Fixed toxav issues.
2014-11-28 13:10:27 -05:00
Imperative
6cff9ecf73
Forgot to replace this
2014-11-26 00:26:03 +01:00
irungentoo
6e361a52fb
Fixed integer rollover bug in toxav.
2014-11-25 17:22:44 -05:00
irungentoo
279c33c01a
Merge branch 'master' of https://github.com/mannol/toxcore
2014-11-24 20:24:59 -05:00
mannol
386c9748d4
av refactor
2014-11-18 00:46:46 +01:00
irungentoo
8c0225b27f
2 channel audio can now be sent to groupchats.
...
Some cleanups and added comments.
2014-11-11 14:39:25 -05:00
irungentoo
a8f670bd68
Added comments.
2014-11-11 09:48:52 -05:00
irungentoo
94ac524374
Group audio might work now but I have not tested anything yet.
2014-11-10 17:59:14 -05:00
xor2003
837f72b39e
Fix for memory leak. And add forgotten break
2014-10-24 15:53:38 +04:00
cgar
2bb2bc4163
spelling corrections
2014-09-09 20:31:37 -04:00
irungentoo
2ef89f6ae0
memset call to zero when killing call.
2014-08-05 20:58:49 -04:00
irungentoo
aaaeac8f3d
Merge branch 'master' of https://github.com/mannol1/toxcore
...
Conflicts:
toxav/toxav.c
2014-08-04 13:49:53 -04:00
irungentoo
d4218dcd61
Set pointer to NULL when freeing to fix issue.
2014-08-04 12:40:18 -04:00
irungentoo
9445b40fb5
Fixed threading bug.
2014-08-04 12:09:03 -04:00
irungentoo
02ed20dc39
Merge branch 'notsecure-split-video'
2014-08-04 12:08:43 -04:00
notsecure
d3e66d73a7
one decoding thread per call
2014-08-04 09:50:32 -04:00
mannol
d08d032368
Update with upstream
2014-08-04 00:15:19 +02:00
mannol
733c509582
Fix some toxav warnings
2014-08-04 00:15:00 +02:00
Jfreegman
82c40b9c8a
remove unneeded printf's/prevent stdout spam
2014-08-03 15:56:09 -04:00
irungentoo
07833b6731
Increase dequeue queue size to 16 to prevent stuttering.
2014-08-02 20:45:39 -04:00
irungentoo
0719a4296e
Merge branch 'mannol1-master'
2014-08-02 11:29:27 -04:00
mannol
6c1ac97da9
Added userdata pointer to audio/video callbacks
2014-08-02 01:09:33 +02:00
irungentoo
77df39863e
Disable decode deadline, fixed build error.
2014-08-01 13:22:32 -04:00
irungentoo
055640611f
Merge branch 'notsecure-split-video'
2014-08-01 13:21:03 -04:00
notsecure
8ee3f645b1
audio/video decoding on separate thread with a queue
2014-08-01 10:18:14 -04:00
notsecure
7e806aef06
fix initialization order
2014-07-31 15:35:59 -04:00
notsecure
95710edf40
decode video on separate thread
2014-07-31 14:56:32 -04:00
irungentoo
8be8d84686
Size parameter is now checked in toxav_send_audio().
...
Cleaned up code a bit.
2014-07-29 11:03:15 -04:00
irungentoo
8aa62cfef7
Initialize codec session with right values.
...
Audio decoder and encoder channel values are sepparate values, the
decoder should be set to the number of channels the other peer has
his encoder set.
2014-07-27 12:51:20 -04:00
irungentoo
ab4673e873
Merge branch 'mannol1-master'
2014-07-26 21:26:32 -04:00
mannol
ee3822f24b
Fixed buffer overflow
2014-07-27 01:24:28 +02:00
mannol
fc230c8671
Fixed tests and conflicts
2014-07-27 00:26:58 +02:00
mannol
54e7d29589
Make codec settings dynamic
2014-07-26 19:29:49 +02:00
irungentoo
da03feaace
Fixed some issues with queue.
...
disconnecting then reconnecting right away should no longer kill
audio transmission.
2014-07-24 20:56:07 -04:00
irungentoo
450c503eba
Increased default jitter buffer size by 1.
2014-07-24 20:26:36 -04:00
irungentoo
443abcfafe
Rewrote audio packet queue.
...
Audio killing itself after 20 minutes in a call should be fixed.
2014-07-24 19:45:38 -04:00
notsecure
f6bca8e928
fix warnings
2014-07-23 13:26:55 -04:00
irungentoo
6ede3e8ad4
Merge branch 'master' of https://github.com/mannol1/toxcore
2014-07-22 11:20:55 -04:00
mannol
79115259a8
Fixed conflicts
2014-07-21 04:10:05 +02:00
mannol
1aeeef58b2
Improved protocol and cleaned code a bit
2014-07-21 01:10:57 +02:00
irungentoo
72858076f5
Set a deadline in the vpx video decoder to try to solve issues on
...
slow hardware.
2014-07-12 23:24:47 -04:00
irungentoo
909db02941
Merge branch 'split-video' of https://github.com/notsecure/toxcore
2014-07-07 19:55:06 -04:00
notsecure
3d4de767fe
use callbacks for a/v
2014-07-07 16:10:10 -04:00
irungentoo
dfa483ba0d
Fixed msi_session being used after being freed.
2014-07-05 21:49:47 -04:00
irungentoo
9d154029cb
Merge branch 'master' of https://github.com/mannol1/toxcore
2014-07-05 17:31:06 -04:00
irungentoo
65b4c026f4
The width and height set during the video encoder initialization is
...
now described as the maximum width and height of images.
This is to work around what appears to be a bug in libvpx where the
resolution of the stream can be decreased but increasing it above
its originally set value introduces memory corruption.
2014-07-05 14:36:19 -04:00
mannol
77c7a3e103
Check if call is active after getting mutex handle
2014-07-05 19:27:31 +02:00
irungentoo
a51f6bbd69
Merge branch 'mannol1-master'
2014-07-05 12:25:30 -04:00
mannol
9af7c335e7
This might be causing problems
2014-07-05 17:36:12 +02:00
mannol
ebdc236d51
Fixed conflicts
2014-07-05 15:13:55 +02:00
mannol
8b9d3992a4
Make rtp & codec actions thread-safe
2014-07-05 15:11:25 +02:00
irungentoo
9f164b4563
Resolution of video can now be changed during call by passing it
...
frames with a different resolution.
Added function to change bitrate of video for later use.
2014-07-04 17:41:02 -04:00
irungentoo
705fceb2e0
Merge branch 'mannol1-master'
2014-07-04 13:28:47 -04:00
mannol
a8fa360547
Merge upstream
2014-07-04 18:17:24 +02:00
mannol
94b9dfdfbf
Added getter for current call status
2014-07-04 18:16:53 +02:00
irungentoo
aa1194ab3e
Merge branch 'mannol1-master'
2014-07-03 11:13:11 -04:00
mannol
f8a2a865dc
Resolved conflicts when merging upstream
2014-07-03 17:08:38 +02:00
mannol
d3560a3a77
Removed redundant code and fixed toxav codec actions being called when call inactive
2014-07-03 16:58:00 +02:00
irungentoo
bc5eafac20
Fixed video in call sometimes freezing.
...
This should not happen anymore.
2014-06-30 15:41:52 -04:00
mannol
aeaf997ca5
Removed redundant encryption and asserts
2014-06-28 04:13:38 +02:00
irungentoo
3063f09f2b
Lowered video bitrate to 500kb/s and lowered audio buffer size.
2014-06-26 12:36:44 -04:00
irungentoo
b1a15b197f
Some video tweaks.
2014-06-24 18:07:31 -04:00
irungentoo
a7c55409fc
Fixed video bitrate being set way higher than it should.
...
Video bitrate is set in kb/s not b/s.
2014-06-24 09:32:46 -04:00
Jfreegman
610af9f196
only allow call cancel during a pending invite
2014-06-23 20:55:15 -04:00
irungentoo
1fd0f92959
Merge branch 'notsecure-split-video'
2014-06-23 16:34:06 -04:00
notsecure
644135183f
dont rely on undefined behaviour
2014-06-23 15:58:20 -04:00
notsecure
3303b29da1
used define instead of constant.. removed unecessary value from packet
2014-06-23 15:16:31 -04:00
notsecure
4e7593a09c
basic packet splitting for video frames
2014-06-23 14:48:30 -04:00
irungentoo
87be366f79
Merge branch 'master' of https://github.com/mannol1/toxcore
2014-06-22 08:39:26 -04:00
mannol
77150081ba
Merged upstream
2014-06-22 02:41:32 +02:00
mannol
5c0b6c8117
Added tolerance to VAD and lowered Jitter buffer default value
2014-06-21 19:04:00 +02:00
irungentoo
bc62510a76
Merge branch 'tux3-cppcheck-style'
2014-06-20 22:36:16 -04:00
mannol
d413fef66f
Started with VAD
2014-06-21 01:58:55 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
3044bd8101
Fix CppCheck style errors
...
#if 0 the content of toxav/msi.c : int stringify_message(MSIMessage
*msg, char *dest)
This function has no effect and does not seem to be used for actively
waiting.
Fix various other style errors, reduce scope when possible, avoid
redundant writes, clarify operator priorities, etc.
2014-06-20 21:43:21 +02:00
Maxim Biro
741ad009e0
Removed IRC references
2014-06-18 17:58:01 -04:00
irungentoo
750c75a47d
Astyled code.
2014-06-15 10:36:57 -04:00
mannol
11ca389e38
Fixed bug when passing invalid call index
2014-06-05 01:36:01 +02:00
irungentoo
7c1b801bd0
Fixed typo.
...
This typo doesn't actually cause any side effects unless you are like
stqism and have a C library that doesn't have mempcpy().
2014-06-01 18:33:10 -04:00
irungentoo
82e38883a2
Merge branch 'mannol1-Multicalls' into multi-av
2014-05-25 12:27:48 -04:00
mannol
565e95301f
Tests works and some fixes
2014-05-24 16:02:01 +02:00
mannol
ea96c1758a
Fixed this
2014-05-17 23:15:54 +02:00
mannol
843171fbc8
This works.
2014-05-16 19:56:40 +02:00
mannol
9bb910a370
This should work
2014-05-10 18:00:49 +02:00
mannol
0fa03b9240
Bunch of random changes
2014-05-03 01:46:03 +02:00
mannol
42b25a4d3e
Yeah many calls
2014-04-27 19:21:26 +02:00
Dmitrij D. Czarkoff
6c47b4773a
Drop typedef redeclarations
...
C99 doesn't permit redeclaring typedefs in the same scope.
2014-04-08 11:32:23 +02:00
mannol
6e1a3b5af7
Bug fix
2014-04-07 21:52:32 +02:00
mannol
3f0d6b5778
Codec settings
2014-04-06 23:59:18 +02:00
mannol
9b476ad94f
Added test
2014-04-05 17:09:44 +02:00