759 Commits

Author SHA1 Message Date
Seven Du
e3ffa73636 FS-7519 FS-7517: looks like decoders don't decode FU-A bit steams, this is a simple implementation that works with some FU-A bit streams, mod_av works better most cases 2015-05-28 12:46:49 -05:00
Anthony Minessale
853873725b FS-7500: factor out the write_image callback and fix the vlc video endpoint to setup and match the audio params of the A leg when bridged 2015-05-28 12:46:48 -05:00
Anthony Minessale
01fda5748c FS-7500: another round of trying to make things work 2015-05-28 12:46:48 -05:00
Anthony Minessale
8a56d8a086 FS-7508: seems to work better restarting on error 2015-05-28 12:46:48 -05:00
Anthony Minessale
e83db9e249 FS-7517: remove debug 2015-05-28 12:46:47 -05:00
Anthony Minessale
c874fe05d8 FS-7500: SQUASH ME WITH THE LAST ONE 2015-05-28 12:46:47 -05:00
Anthony Minessale
b8ba1a1469 FS-7500: reduce CNG frames on video and move debug from mod_fsv to the core with a flag to enable it since the raw packet is not available anymore when you set DECODED READ flag 2015-05-28 12:46:47 -05:00
Anthony Minessale
140a1c9661 FS-7500 FS-7508: shift some hacks around 2015-05-28 12:46:47 -05:00
Seven Du
aa654da777 FS-7500: use SWITCH_DEFAULT_VIDEO_SIZE as slice size 2015-05-28 12:46:46 -05:00
Seven Du
3b7bdac4b9 FS-7517: mod_openh264 follows up the new encoder flow 2015-05-28 12:46:45 -05:00
Anthony Minessale
e7d34f3170 FS-7508: tolerate some messed up packets a little more 2015-05-28 12:46:45 -05:00
Anthony Minessale
40ee25f5b8 FS-7508: change vpx encoder to not re-init the whole codec, it messes it up but side effect, we need to init the encoder at 4k and scale down to aovid the vpx resize seg 2015-05-28 12:46:45 -05:00
Anthony Minessale
d7af2b128c FS-7500: clean up logic of encoder flow and set rules on return values and tweak some codec settings on vp8 2015-05-28 12:46:45 -05:00
Anthony Minessale
22020c86cb FS-7500: add SFF_USE_VIDEO_TIMESTAMP to tell video write frame if it needs to use a timer or not for timestamps 2015-05-28 12:46:45 -05:00
Anthony Minessale
0cd5658caa FS-7500: another refactoring pass, temp code still in place, WORK IN PROGRESS 2015-05-28 12:46:44 -05:00
Anthony Minessale
659c1e474e FS-7500: Work in progress. Added codec config params that can be set from session and made vpx codec re-init on size change. Also add periodic key frame timer 2015-05-28 12:46:44 -05:00
Anthony Minessale
765fff3d75 FS-7500: add support for codec control and use it to pass messages down to the codec and use it to implement keyframe reset for fir, pli and nack. Later we will expand to handle nack correctly. 2015-05-28 12:46:44 -05:00
Anthony Minessale
d4a5ebf97d FS-7500 FS-7517 FS-7508 FS-7514: chrome working on most, bria working on some 2015-05-28 12:46:44 -05:00
Anthony Minessale
9fdb54766c FS-7508 FS-7517: import h264 and vpx codec files 2015-05-28 12:46:44 -05:00
Seven Du
f3ad699526 FS-7500: update yuv codec 2015-05-28 12:46:42 -05:00
William King
6dec4de2fe FS-7508 FS-7517: [build] Convert the build over to automake, though there is still room to fix
the autoconf portion to detect the correct location of libopenh264

Basic conversion for vpx too.
Borrowing from ldns handling, setup mod_vpx to prompt for the required library when the module is enabled
2015-05-28 12:46:42 -05:00
Seven Du
e80b40f9f1 FS-7500: add raw video codec yuv I420 2015-05-28 12:46:42 -05:00
doancea
ccbef9e0c7 opus@8000h : with this change there RTP timestamps will be incremented with 960 (20 ms ptime) - per RFC , and the frame size will be 160 samples. 2015-05-11 16:48:49 +02:00
Brian West
44118fa8e6 FS-7297 fix incomplete patch for previous issue 2015-03-18 13:51:12 -05:00
Anthony Minessale
1f5e5abbed fix frame size for encoder 2015-03-12 23:58:14 -05:00
Brian West
5febdbbc08 FS-7297 #comment update the make target installer 2015-02-18 15:45:05 -06:00
Anthony Minessale
e268a72603 FS-6994 #resolve 2014-12-12 17:52:02 -06:00
Paul Arnold
843e4953be FS-7051: Preserve the annexb=no/yes status
As per RFC4856, Annex B mode for G.729 is disabled if the SDP contains a
fmtp parameter annexb=no and enabled if annexb=yes or the annexb parameter
is missing.

When responding to an offer mod_sangoma_codec always returns an answer
without a fmtp parameter. Even in response to a SDP offer which contains
one. This has the effect of responding to a request to disable Annex B
with an answer that only Annex B is supported.

With this change mod_sangoma_codec copies the fmtp parameter from the
offer to the answer fixing the problem.
2014-12-05 09:52:29 +11:00
Michael Jerris
424df19083 FS-6695: fix build on mips 2014-11-17 15:25:39 -05:00
Julien Chavanton
826d428741 FS-6992 [mod_opus] global configuration or maxplaybackrate and maxaveragebitrate
from opus.conf.xml
2014-11-14 10:31:32 +01:00
Julien Chavanton
0eefdca47b FS-6947 Opus RTP payload fmtp settings ( maxaveragebitrate / maxplaybackrate ) 2014-11-12 17:51:56 +01:00
Anthony Minessale
f85c82446c FS-6949 #resolve 2014-10-28 14:19:06 -05:00
Peter Olsson
7faf9f4c25 FS-6767 #comment Add initial support for mod_verto on Windows 2014-10-18 09:53:57 +02:00
Michael Jerris
d17f14efbd make sure to pass along appropriate configure flags to sub-configure's when cross compiling 2014-10-02 19:25:50 -04:00
Anthony Minessale
eeedb8683e the other way works better revert 91ffe171b6e76f60f1e94f148176ce8556d460e6 to use high quality on stereo calls 2014-10-02 10:41:59 -05:00
Anthony Minessale
91ffe171b6 use OPUS_APPLICATION_VOIP always to get FEC and filtering 2014-10-01 18:33:33 -05:00
Michael Jerris
5e11744632 fix makefile syntax errors 2014-10-01 17:52:01 -04:00
Anthony Minessale
41cea5c751 remove debug 2014-06-13 05:01:37 -04:00
Anthony Minessale
4ffbf23ffa stereo refactoring 2014-06-13 01:49:16 -04:00
Anthony Minessale
928a989de1 first pass of stereo support 2014-06-12 22:06:33 +05:00
Seven Du
ead290870a fix compiler warning for implicit convertion 2014-06-01 08:09:49 +08:00
Travis Cross
e4888349e1 Prevent opus lib from re-configuring on every make
We were using the libopus directory itself rather than a file within
it as a makefile target.  This is a bad idea as make will see the
target as updated whenever files are created in or removed from the
directory.  Since running configure creates and removes files, the
target will always appear dirty.

The effect was that when mod_opus was enabled in FS make would always
cause libopus to be reconfigured.

We'll target instead the configure file in libopus as that's the first
thing we need anyway.
2014-05-17 00:03:26 +00:00
Michael Jerris
db1a2de186 don't null check what we know won't be null 2014-05-01 19:00:24 -04:00
Anthony Minessale
7151d6acea FS-6402 part 2 2014-04-02 03:21:37 +05:00
Anthony Minessale
5c0cff70b3 FS-6402 --resolve 2014-04-02 01:20:19 +05:00
Brian West
04de0f77d3 FS-6396 fix mod_silk builid on FreeBSD 2014-03-25 20:25:11 -05:00
Michael Jerris
792530b744 FS-6293: fix srcdir build for mod_opus 2014-03-18 17:38:02 -04:00
Michael Jerris
e63140a4d3 FS-6293: fix mod_codec2 srcdir build 2014-03-18 17:19:40 -04:00
Michael Jerris
1c5e61447b move libs/stfu into the core, as it is not really a lib 2014-03-17 09:44:14 -04:00
Michael Jerris
a9799f3dae FS-6293: fix mod_silk srcdir build 2014-03-17 08:32:17 -04:00