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
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