mannol
483a6ffa32
Added 2 new headers into msi for buffer control
2015-02-17 23:34:40 +01:00
irungentoo
c6a59e64b7
Updated types in Messenger callbacks to fit with the ones in the new api.
...
Friend number changed from int32_t to uint32_t.
Some lengths changed to size_t.
2015-02-17 15:49:22 -05: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
irungentoo
ee3adf2641
Fixed memory leak.
2015-02-08 16:23:05 -05:00
irungentoo
01b4ad7a8a
Fixed memory leak.
2015-02-06 15:16:07 -05:00
irungentoo
7e7b7f6c33
Fixed memory leak.
2015-02-06 15:13:36 -05:00
irungentoo
1302981d55
Removed useless misleading define.
2015-02-04 20:54:08 -05: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
ffa7a726b2
Use same jbuf size for group as for one on one chats.
...
Use define instead of constant.
2014-12-28 15:45:27 -05: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
82ba83e526
cs_set_video_encoder_resolution improvements.
2014-12-16 13:10:28 -05:00
irungentoo
7d4489b872
Merge branch 'mem-leak-fix' of https://github.com/nurupo/InsertProjectNameHere
2014-12-12 20:56:19 -05:00
irungentoo
4e1e3150d3
Fixed memory leaks.
2014-12-12 20:55:43 -05:00
Maxim Biro
05cc7df031
Fixed a memory leak
2014-12-12 20:41:27 -05:00
irungentoo
129f620fa5
Increase video quality and distance between keyframes.
2014-12-12 19:55:47 -05:00
irungentoo
39cc14ccea
Make the maximum size of the jbuf at least 4 times the capacity.
...
Should prevent issues that might occur because a different thread is
reading it.
2014-12-12 18:39:39 -05:00
irungentoo
71527c436c
Having two buffers for audio isn't really good.
2014-12-12 18:35:52 -05:00
irungentoo
12f396fcc2
Fixed video packet assembling.
...
Video should look better now.
2014-12-12 17:47:57 -05:00
irungentoo
7d27893f1a
Merge branch 'more_consistent_custom_packet_handlers' of https://github.com/wrouesnel/toxcore
2014-12-09 16:39:52 -05:00
Will Rouesnel
8a56cb3b58
Change prototype for custom_packet_handler functions
...
Change the custom_packet_handler callback function interface to be
consistent with other callback interfaces.
The new interface takes the Messenger object calling as the first
parameter, and moves the user data object to be the last parameter.
This makes it comparable to the callbacks for file transfer and the
like, and should simplify building interfaces.
The new prototype is: int (*)(Messenger *m, int32_t friendnumber, const
uint8_t *data, uint32_t len, void *object)
2014-12-09 07:51:49 +11:00
irungentoo
af0d6c0695
Fixed possible issue with wrong size being passed to opus_decode().
2014-12-07 18:23:55 -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
1c3f88758d
Jbuff fixes.
2014-11-29 16:13:50 -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
irungentoo
d6f733c7e6
Actually fixed build issue.
2014-11-26 16:17:29 -05:00
irungentoo
ed80c43e49
Fixed build issue.
2014-11-26 16:03:22 -05:00
Imperative
6cff9ecf73
Forgot to replace this
2014-11-26 00:26:03 +01:00
Imperative
580c4a60df
Fixed some fatal spelling mistakes
2014-11-26 00:19:57 +01:00
irungentoo
6e361a52fb
Fixed integer rollover bug in toxav.
2014-11-25 17:22:44 -05:00
irungentoo
28ffa035cb
Fixed possible issue.
2014-11-25 15:31:21 -05:00
irungentoo
279c33c01a
Merge branch 'master' of https://github.com/mannol/toxcore
2014-11-24 20:24:59 -05:00
irungentoo
49f4583bc1
Enable use of lower sample rates for group chats.
2014-11-22 16:40:25 -05:00
irungentoo
1ef2092bcc
Fixed small issue where group audio would jumble up sometimes at start of stream.
2014-11-20 18:05:52 -05:00
mannol
386c9748d4
av refactor
2014-11-18 00:46:46 +01:00
irungentoo
4e6f993e7d
Cut bitrate by half for 1 channel audio.
2014-11-17 17:16:51 -05:00
irungentoo
7fee48b148
Increased audio packet queue size by 2.
2014-11-15 14:08:10 -05:00
irungentoo
3b10a248dc
Cleaned up some code, made group av clean up properly after itself
...
when the group is killed.
2014-11-11 15:01:36 -05: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
f0f68efee8
Audio group chats still have some small issues.
2014-11-10 20:23:48 -05:00
irungentoo
94ac524374
Group audio might work now but I have not tested anything yet.
2014-11-10 17:59:14 -05:00
irungentoo
5715a94061
Basic audio packet parsing code.
2014-11-09 20:21:57 -05:00
irungentoo
bbbeecbaa0
Group audio starting to take shape.
...
Some issues still left to solve.
2014-11-08 21:31:46 -05:00
irungentoo
d7f1f223ee
First commit of actual A/V code for group chats.
2014-11-07 21:30:26 -05:00
irungentoo_trip
9c480acecf
Fixed possible threading issues.
2014-10-25 09:01:15 -07:00
irungentoo_trip
9b5aa3ff27
Merge branch 'toxav-uaf' of https://github.com/tux3/toxcore
...
#
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2014-10-25 08:55:42 -07:00
Tux3 / Mlkj / !Lev.uXFMLA
ea4320733f
Fix use-after-free of toxav's TimerHandler
...
If msi.c:timer_terminate_session frees "handler", then when msi.c:timer_poll's thread resumes, there WILL be a use after free of "handler", with a likely segfault.
This use after free causes a crash in qTox, see tux3/qTox#534
2014-10-25 12:29:10 +02:00
xor2003
837f72b39e
Fix for memory leak. And add forgotten break
2014-10-24 15:53:38 +04:00
irungentoo
a2db81bb1d
Some video encoding improvements.
2014-10-17 19:54:42 -04:00
xor2003
1b60fbed56
Trying to fix TimerHandler *handler memory leak
2014-10-17 11:26:22 +04:00
sin
a46810a197
Rework toxav/rtp.c to use ntohl/htonl and ntohs/htons
...
Now we can also remove the helper routines from toxcore/util.[ch].
2014-09-30 13:18:28 -04:00
irungentoo
c43526be9c
Fixed memory leak.
2014-09-21 14:55:23 -04:00
Tux3 / Mlkj / !Lev.uXFMLA
35da73beff
Fix exceptional leak in msi.c
2014-09-10 19:31:34 +02: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
e1158be5a6
Fixed segfault.
2014-07-28 09:58:53 -04:00
irungentoo
7bbde2d6c7
Reduced max size of queue.
2014-07-27 19:52:43 -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
d052bbc3eb
Start sequence number at zero instead of one.
2014-07-25 10:39:34 -04:00
irungentoo
84c28337d2
Fixed crash.
2014-07-24 21:00:42 -04: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
2d0c503f74
Merge branch 'master' of https://github.com/mannol1/toxcore
2014-07-24 19:50:27 -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
mannol
7d7cc2dad5
dark forces were very active, so to say...
2014-07-23 21:41:18 +02:00
notsecure
f6bca8e928
fix warnings
2014-07-23 13:26:55 -04:00
notsecure
fffe72bcaa
fix mannol
2014-07-23 13:24:51 -04:00
irungentoo
511d197e8c
Fixed warning.
2014-07-22 11:24:47 -04:00
irungentoo
6ede3e8ad4
Merge branch 'master' of https://github.com/mannol1/toxcore
2014-07-22 11:20:55 -04:00