Commit Graph

671 Commits

Author SHA1 Message Date
Anthony Minessale 2af024dc08 FS-7519: [mod_avformat] change logger, mod_avcodec: change logger and copy data to/from frames to avoid overwriting and also send intra requests still but do not wait for one to init the codec 2015-05-28 12:47:32 -05:00
Michael Jerris b827542c8d FS-7500: fix vpx include paths 2015-05-28 12:47:32 -05:00
Anthony Minessale 81094b3a0c FS-7499 adding some more refactoring towards better rtcp 2015-05-28 12:47:31 -05:00
Anthony Minessale 22ade18600 FS-7519: add abndwidth params and fix issue on reset of mov_avcodec 2015-05-28 12:47:31 -05:00
Anthony Minessale 772665e0fa FS-7499 FS-7500 FS-7508 FS-7513 trying to improve the video signal decoding under stress and get vpx to latch on to a signale sooner 2015-05-28 12:47:29 -05:00
Anthony Minessale dc4c38dab5 FS-7499 FS-7508 FS-7501 some more general improvements for initial call setup 2015-05-28 12:47:29 -05:00
Michael Jerris d2d00056e8 FS-7519: [mod_avcodec] add x264 to linker 2015-05-28 12:47:29 -05:00
Michael Jerris 5220c91395 FS-7519: [mod_avcodec] add libavutil to linker 2015-05-28 12:47:29 -05:00
Anthony Minessale a8a2c32ac3 FS-7499 FS-7500: combat black screen disease 2015-05-28 12:47:28 -05:00
Anthony Minessale 01a5756701 FS-7508: revert 2015-05-28 12:47:27 -05:00
Anthony Minessale 38a7006f0e FS-7508: sync vpx on start packet 2015-05-28 12:47:26 -05:00
Michael Jerris e2236ad559 FS-7508: remove mod_vp8 which has been replaced by mod_vpx 2015-05-28 12:47:25 -05:00
Michael Jerris 91a6fc82c0 FS-7338: remove libsndfile from tree, use system lib instead
FS-7338: remove libsilk from tree, use system lib instead
FS-7338: change to always use system liblua
FS-7338: remove libbroadvoice from tree, use system lib instead
FS-7338: remove libilbc from tree, use system lib instead
FS-7338: remove libs using system libs from bootstrap
FS-7338: remove libg722_1 from tree, use system lib instead
FS-7338: remove mod_celt, it has be superseded by mod_opus
FS-7338: remove libcodec2 from tree, use system lib instead
FS-7338: remove libopus from tree, use system lib instead
FS-7338: remove libsoundtouch build from tree, use system lib instead
FS-7338: remove flite build from tree, use system lib instead
FS-7338: remove openldap build from tree, use system lib instead
FS-7338: remove libmongoc build from tree, use system lib instead
FS-7338: remove mod_mongo deps that are no longer actually required
FS-7338: remove some dup demo modules and don't include demo code in packages
2015-05-28 12:47:24 -05:00
Brian a4f656f414 FS-7297 Not sure anyone tested this 2015-05-28 12:47:24 -05:00
Seven Du 47f25e9d43 FS-7508: log vpx version 2015-05-28 12:47:23 -05:00
Anthony Minessale 4a7418dca5 FS-7508: this setting no longer needs to be mult by 4 in recent vpx 2015-05-28 12:47:23 -05:00
Seven Du 06acde23a1 FS-7517: fix openh264 packet loss logic and tweak some logs 2015-05-28 12:47:21 -05:00
Seven Du cc27c51eb7 FS-7517: trival treak openh264 logs 2015-05-28 12:47:20 -05:00
Anthony Minessale 42e7b81b1e FS-7500 FS-7508: move debug logging to DEBUG1 2015-05-28 12:47:17 -05:00
Seven Du 828b6a553e FS-7508: improve vpx err msg 2015-05-28 12:47:16 -05:00
Seven Du 96d4318964 FS-7508: add debug logs 2015-05-28 12:47:15 -05:00
Seven Du dc17932a81 FS-7508: restart on ts mismatch and add some logs to track packet loss 2015-05-28 12:47:15 -05:00
Anthony Minessale fa7695847a FS-7499: improve generic nack and vpx framing 2015-05-28 12:47:14 -05:00
Anthony Minessale 2bbe417fab FS-7508: use all the cpus 2015-05-28 12:47:13 -05:00
Anthony Minessale 7c294f242f FS-7504: allow <modname>.<codecname> support so multiple modules can exist for the same codec 2015-05-28 12:47:13 -05:00
Seven Du fb429b2134 FS-7519: Another round to break mod_av, now mod_avcodec 2015-05-28 12:47:13 -05:00
Anthony Minessale 25dade86aa FS-7519: add pkg-config checks for avformat and avcodec and move modules to use automke 2015-05-28 12:47:13 -05:00
Anthony Minessale fc1ff9209e FS-7508: timing update 2015-05-28 12:47:12 -05:00
Seven Du 18cd917916 FS-7508: fix when reading invalid vp9 and cleanup a bit 2015-05-28 12:47:12 -05:00
Anthony Minessale 66dd1bc8e7 FS-7508: tweak 2015-05-28 12:47:12 -05:00
Seven Du 87766a23b7 FS-7508: add vp9 key frame detection and some packet sanity check 2015-05-28 12:47:12 -05:00
Anthony Minessale 4a6e9fd4b0 FS-7508: WIP vp9 stuff 2015-05-28 12:47:12 -05:00
Anthony Minessale 24254bb1fd FS-7500: revert 2015-05-28 12:47:11 -05:00
Anthony Minessale d3359ff9f0 FS-7500: don't wait for video ready from inside video thread that sets that flag 2015-05-28 12:47:11 -05:00
Seven Du 1a31f1f183 add vp9 passthru 2015-05-28 12:47:11 -05:00
Anthony Minessale 289c7925aa FS-7508: reset packet data on codec reset 2015-05-28 12:47:08 -05:00
Seven Du c59874cbff FS-7517 FS-7508: typo 2015-05-28 12:47:05 -05:00
Brian West 8c9acc4316 FS-7517: Fix mod_openh264 include 2015-05-28 12:47:05 -05:00
Anthony Minessale f8729d5440 FS-7500: make video bandwidth accurate for vpx 2015-05-28 12:47:04 -05:00
Anthony Minessale 356a501b7c FS-7508: reduce vpx memory footprint 2015-05-28 12:47:03 -05:00
Anthony Minessale 2c1ab14074 FS-7513: add configurable FPS for conf and default to 15 2015-05-28 12:47:02 -05:00
Seven Du 0a015f4c76 FS-7517: fix hardcoded width and height on video reset 2015-05-28 12:46:59 -05:00
Anthony Minessale fcf32fd53d FS-7500 FS-7513: add video bandwidth control function and use it in mod_conference 2015-05-28 12:46:58 -05:00
Seven Du 78067a890c FS-7517: update to openh264 commit 3f19534dd6118b96ce73073ae1e047490c71b6e6 2015-05-28 12:46:58 -05:00
Anthony Minessale 8d3f93152e FS-7508: parse both bw vars the same 2015-05-28 12:46:57 -05:00
Anthony Minessale b600b0b6ee FS-7508: add avg duration into codec 2015-05-28 12:46:57 -05:00
Anthony Minessale ac140fb6dd FS-7500: codec tweaks 2015-05-28 12:46:56 -05:00
Anthony Minessale d6ef34a725 FS-7508: trying to mitigate chrome going crazy on reload 2015-05-28 12:46:55 -05:00
Anthony Minessale e00fbe5aad FS-7508: reduce error freq 2015-05-28 12:46:55 -05:00
Anthony Minessale 785ecdb39e FS-7508: revert 2015-05-28 12:46:52 -05:00
Anthony Minessale 0d626bc715 FS-7501: more factoring on vid buffer 2015-05-28 12:46:52 -05:00
Anthony Minessale 91b88aefe7 FS-7517: this mode is more reliable, default for now 2015-05-28 12:46:52 -05:00
Seven Du f6484f5bf4 FS-7517: add warning dropped from 0353e45 back in case it still happens 2015-05-28 12:46:52 -05:00
Anthony Minessale 753f49fe32 FS-7517: use start and end bits 2015-05-28 12:46:51 -05:00
Anthony Minessale f5346bfe80 FS-7517: Reset context->nalu_28_start on mark bit - This makes FU-A parsing work 2015-05-28 12:46:51 -05:00
Anthony Minessale e1321c8775 FS-7517: fix pack mode 1 2015-05-28 12:46:51 -05:00
Anthony Minessale bc3ee71f87 FS-7517: this seems to actually work for some reason 2015-05-28 12:46:51 -05:00
Anthony Minessale a64d8b01d1 FS-7517: doh 2015-05-28 12:46:51 -05:00
Anthony Minessale 43ec552252 FS-7517: hack workaround in, its better than the way it is, must be fixed 2015-05-28 12:46:50 -05:00
Anthony Minessale 970064294c FS-7500: refactoring 2015-05-28 12:46:50 -05:00
Anthony Minessale 03d870bb19 FS-7508: revert chage to debounce key reqs 2015-05-28 12:46:49 -05:00
Anthony Minessale 2ea12656ea FS-7500: improvement for conf vid 2015-05-28 12:46:49 -05:00
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 91ffe171b6 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