summaryrefslogtreecommitdiff
path: root/toxav/codec.c
AgeCommit message (Collapse)Author
2015-07-31Merge branch 'Opus-Codec-Settings' of https://github.com/JasonLocklin/toxcoreirungentoo
2015-07-31added documentationJason Locklin
2015-07-31Set packet loss percentageJason Locklin
Make the Codec resistant to up to 10% packet loss (default 0) at the expense of some bandwidth. 10% is aggressive (1-5% should be typical for voip systems, but can be higher when users are on WiFi connections. This could also be adjusted on the fly, rather than hard-coded, with feedback from the receiving client.
2015-07-31Enable in-band FECJason Locklin
In-band FEC can be used with OPUS_APPLICATION_VOIP to improve Codec robustness to packet loss and corruption. It is disabled by default: http://opus-codec.org/docs/html_api-1.0.1/group__opus__encoderctls.html#ga5b67dc832aa46c1c2f35752c46380545
2015-07-31OPUS_APPLICATION_VOIP should be usedJason Locklin
See: http://opus-codec.org/docs/html_api-1.0.1/group__opus__encoder.html#gaa89264fd93c9da70362a0c9b96b9ca88 "VOIP" rather than "AUDIO": > gives best quality at a given bitrate for voice signals. It enhances the input signal by high-pass filtering and emphasizing formants and harmonics. Optionally it includes in-band forward error correction to protect against packet loss. Use this mode for typical VoIP applications.
2015-07-20Fixed some strange build issues.irungentoo
2015-02-06Fixed memory leak.irungentoo
2015-02-04Removed useless misleading define.irungentoo
2014-12-16cs_set_video_encoder_resolution improvements.irungentoo
2014-12-12Merge branch 'mem-leak-fix' of https://github.com/nurupo/InsertProjectNameHereirungentoo
2014-12-12Fixed memory leaks.irungentoo
2014-12-12Fixed a memory leakMaxim Biro
2014-12-12Increase video quality and distance between keyframes.irungentoo
2014-12-12Make the maximum size of the jbuf at least 4 times the capacity.irungentoo
Should prevent issues that might occur because a different thread is reading it.
2014-12-12Having two buffers for audio isn't really good.irungentoo
2014-12-12Fixed video packet assembling.irungentoo
Video should look better now.
2014-12-07Fixed possible issue with wrong size being passed to opus_decode().irungentoo
2014-11-29Jbuff fixes.irungentoo
2014-11-29Merge branch 'mutex-1' of https://github.com/mannol/toxcoreirungentoo
2014-11-29More av cleanupmannol
2014-11-28Fixed toxav issues.irungentoo
2014-11-24Merge branch 'master' of https://github.com/mannol/toxcoreirungentoo
2014-11-18av refactormannol
2014-10-17Some video encoding improvements.irungentoo
2014-08-04Fix some toxav warningsmannol
2014-07-27Reduced max size of queue.irungentoo
2014-07-27Initialize codec session with right values.irungentoo
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-24Fixed crash.irungentoo
2014-07-24Fixed some issues with queue.irungentoo
disconnecting then reconnecting right away should no longer kill audio transmission.
2014-07-24Rewrote audio packet queue.irungentoo
Audio killing itself after 20 minutes in a call should be fixed.
2014-07-19remove this toostal
2014-07-19declare calculate_sum_sq static inlinestal
2014-07-05Merge branch 'master' of https://github.com/mannol1/toxcoreirungentoo
2014-07-05The width and height set during the video encoder initialization isirungentoo
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-05Merge branch 'mannol1-master'irungentoo
2014-07-05Fixed conflictsmannol
2014-07-05Make rtp & codec actions thread-safemannol
2014-07-04This seems to fix the crash that happens when changing the resolutionirungentoo
of the desktop stream to something higher than the initial one in utox.
2014-07-04Resolution of video can now be changed during call by passing itirungentoo
frames with a different resolution. Added function to change bitrate of video for later use.
2014-07-03Merge branch 'mannol1-master'irungentoo
2014-07-03Removed redundant code and fixed toxav codec actions being called when call ↵mannol
inactive
2014-06-26Lowered video bitrate to 500kb/s and lowered audio buffer size.irungentoo
2014-06-24Some video tweaks.irungentoo
2014-06-22Merge branch 'master' of https://github.com/mannol1/toxcoreirungentoo
2014-06-22Merged upstreammannol
2014-06-21Added tolerance to VAD and lowered Jitter buffer default valuemannol
2014-06-21Started with VADmannol