Commit Graph
89 Commits
Author SHA1 Message Date
Dragos Oancea 30847cf76b FS-8256: mod_opus: more FMTP cleanup 2015-09-30 14:35:45 -04:00
Anthony Minessale 7ea9b684a7 FS-8204 add sprop-stereo also 2015-09-22 15:31:20 -05:00
Mike Jerris e7d11375ad Merge pull request #451 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus_repacketize_refactor to master
* commit '753213b7459000e8aa1c8aa170d04b9371c6f629':
  FS-8080: mod_opus: fine-tune FEC with repacketization (ptimes: 80 ms,100 ms,120 ms)
2015-09-17 11:33:51 -05:00
Dragos Oancea de67b09e80 FS-8179: mod_opus: improve JB debugging with FEC 2015-09-17 10:05:00 -04:00
Dragos Oancea 753213b745 FS-8080: mod_opus: fine-tune FEC with repacketization (ptimes: 80 ms,100 ms,120 ms) 2015-09-17 05:20:39 -04:00
Anthony Minessale d57ab43f32 FS-8130 code error 2015-09-16 17:05:00 -05:00
Anthony Minessale 0f490fdab1 FS-8130 add support for timestamp based counting for jitter buffer in audio mode 2015-09-15 14:59:11 -05:00
Anthony Minessale eea76c8856 FS-8130
Port video buffer to also support audio and remove original STFU jitter buffer
Add some more resilience to video packet loss
Add codec control mechanism for both call-specific debug and codec/call specfic params
Make opus function better in packet loss and latent situations
Use new codec control prams to make JB lookahead FEC optionally enabled or disabled mid-call
Add Param to allow JB lookahead to be enabled.
2015-09-14 13:30:08 -05:00
Anthony Minessale c195ee4c60 FS-8130 don't set packet loss percent 2015-09-11 11:37:01 -05:00
Brian West 1fd9198c15 FS-8144 readability and code formatting cleanup of mod_opus whiel reviewing PLC/FEC bug and document missing options from opus.conf.xml 2015-09-09 12:48:41 -05:00
Mike Jerris 403c1735e5 FS-7966: fix more msvc 2015 warnings. 2015-08-31 17:47:57 -04:00
Mike Jerris 2e3e09cb38 FS-7966: fix more msvc 2015 build warnings. 2015-08-31 13:26:36 -04:00
Michael Jerris 164c6111a1 FS-7966: remove some older versions of msvc build system as these will no longer work soon, please use 2015 instead 2015-08-31 10:19:10 -05:00
Mike Jerris 5de2f7d7bd FS-7966: multiple fixes for msvc 2015 build, silence multiple warnings 2015-08-27 18:49:13 -06:00
Michael Giagnocavo 5e456fe9a6 FS-7966. First pass at moving to Visual Studio 2015.
The new C compiler breaks a lot of things. snprintf and timespec now exist, and redefining causes an error.
Many more things are warnings, so warnings-as-errors will fail - remove it from some projects for now.
V8: don't pass VS version to build batch file.
mod_sofia: Config has too-long if/elseif chain. Break this up to avoid "parser stack overflow; program too complex".
Add mod_conference.h to project and dir to includes.
2015-08-21 18:28:32 -04:00
Dragos Oancea ecabfc7f9a FS-8005: mod_opus : fix for rare decoder error when doing PLC, OPUS_GET_LAST_PACKET_DURATION might return 0 2015-08-19 14:34:51 -04:00
Norm Brandinger 47f7f45acc FS-7952 mod_opus: remove duplicate test/set of sprop-maxcapturerate 2015-08-10 17:10:34 -05:00
Dragos Oancea 566a1491e3 FS-7848 : mod_opus: Add ptimes: 80 ms, 100 ms, 120 ms (Opus repacketize) 2015-07-21 17:13:16 -04:00
Mike Jerris 0b097dd597 Merge pull request #346 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-sprop-stereo to master
* commit '37dc3929df76b2fbca1569ff3416b191a213029c':
  FS-7829: mod_opus: add sprop-stereo fmtp param (just read it)
2015-07-14 12:53:41 -05:00
Mike Jerris 3b10e4d9f2 Merge pull request #347 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-dtx to master
* commit 'dc6d7c32dd433735dcc1f20a50fdebffe71817fa':
  FS-7830: mod_opus: added use-dtx param in config file (enables DTX on the encoder, announces in fmtp)
2015-07-14 12:52:39 -05:00
Dragos Oancea 65135c5f40 FS-7832: fixes when comparing local and remote fmtp params 2015-07-13 19:54:11 -04:00
Dragos Oancea dc6d7c32dd FS-7830: mod_opus: added use-dtx param in config file (enables DTX on the encoder, announces in fmtp) 2015-07-13 18:12:11 -04:00
Dragos Oancea 37dc3929df FS-7829: mod_opus: add sprop-stereo fmtp param (just read it) 2015-07-13 17:40:34 -04:00
Brian West 7e660ea856 Merge pull request #341 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-keep-fec-on-improve to master
* commit '244331aa1536a0dad2cc115757fc5507446e1b00':
  FS-7819: mod_opus: restore bitrate after increase (if there's no more packet loss) , added step for 60 ms
2015-07-10 10:57:36 -05:00
Dragos Oancea 244331aa15 FS-7819: mod_opus: restore bitrate after increase (if there's no more packet loss) , added step for 60 ms 2015-07-10 11:35:27 -04:00
Mike Jerris 72c5d6fa3f Merge pull request #338 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-ptime-60ms-support to master
* commit '76bdd2b0d57e63a0d59bf78088af25ec733b7426':
  FS-7809: mod_opus: added 60 ms ptime for Opus at 8 khz  ( opus@8000h@60i )
2015-07-09 11:11:36 -05:00
Dragos Oancea 76bdd2b0d5 FS-7809: mod_opus: added 60 ms ptime for Opus at 8 khz ( opus@8000h@60i ) 2015-07-09 11:53:37 -04:00
Dragos Oancea be6e6ea5fb FS-7801: mod_opus: added support to set CBR mode 2015-07-08 20:03:54 -04:00
Mike Jerris 5b76e4ade9 Merge pull request #327 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-keep-fec-on to master
* commit 'b3f453b02f62da450681c4b584bda838134c1317':
  FS-7772: mod_opus: add functionality to keep FEC enabled on the encoder by modifying the bitrate if packet loss changes (Opus codec specific behaviour).
2015-07-07 11:13:57 -05:00
Dragos Oancea 12d240308c FS-7785: mod_opus: fix for invalid ptime 30 ms for opus@8000h . Replaced 30 ms with 40 ms. 2015-07-07 07:59:17 -04:00
Dragos Oancea b3f453b02f FS-7772: mod_opus: add functionality to keep FEC enabled on the encoder by modifying the bitrate if packet loss changes (Opus codec specific behaviour). 2015-07-06 18:27:37 -04:00
Michael Jerris 434d39d450 FS-7660: [mod_opus] cleanup issues from inital commit of opus_debug command 2015-06-18 17:34:59 -04:00
Mike Jerris 2283270b8b Merge pull request #288 in FS/freeswitch from ~MICHAELGG/freeswitch:winperf to master
* commit '81190c6d89aa7bedbda041c8a8519081856effff':
  FS-7644. Fix build on VS2013/Win by creating and forcing nf (nofork) to true.
  FS-7644. Remove non-existent projects.
  FS-7644. Add switch_core_video.c and switch_vidderbuffer.c to VS2013 FreeSwitchCore.2013.vcxproj
  FS-7644. Change 2013.vcxproj references to 2013
2015-06-18 15:35:02 -05:00
Michael Giagnocavo f116387443 FS-7644. Change 2013.vcxproj references to 2013 2015-06-18 04:17:53 -06:00
Dragos Oancea 595bba201b FS-7660: mod_opus: add function to show information about Opus payload (number of frames, number of samples per frame, audio bandwidth, FEC info). Enabled with new API command "opus_debug". 2015-06-17 18:23:31 -04:00
Brian West e14f4b0b09 Merge pull request #280 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus_asymmetric-fmtp to master
* commit 'fe29cc6885269f06c635bc652007da834465c7f9':
  mod_opus : asymmetric sample rates based on fmtp params (maxplaybackrate and sprop-maxcapturerate)
2015-06-15 09:08:43 -05:00
Dragos Oancea fe29cc6885 mod_opus : asymmetric sample rates based on fmtp params (maxplaybackrate and sprop-maxcapturerate) 2015-06-11 19:32:30 -04:00
Jeff Lenk 345e50d25a FS-7644 2015-06-11 15:29:28 -05:00
Michael Jerris 2cc0348422 FS-7635: remove msvc 2005 2008 and 2010 non working build systems. There are now multiple more recent (3 different ones) and some free versions of the compiler that can be used. 2015-06-10 16:33:14 -04:00
Michael Jerris 20f9b5c046 FS-7601: [mod_opus] remove a bounds check that can never be true in opus fec code 2015-06-09 14:43:01 -04:00
Brian 6bb8ee321a FS-7601 improve opus packet loss routines #resolve 2015-06-05 18:11:20 -05:00
Brian 22335d212d FS-7601 allow setting the packet loss percentage on the encoder from the opus.conf.xml file 2015-06-04 15:57:33 -05:00
Anthony Minessale 5c5b53a453 FS-7601 #resolve 2015-06-04 15:01:36 -05:00
Michael Jerris e21a423d9f FS-7436: [mod_opus] fix the plc counter to actually count 2015-06-02 13:23:43 -04:00
doancea bd3589a2fb FS-7436: added FEC support for mod_opus
You need an enabled jitter buffer for FEC to work.
If a packet is missing we look in the jitter buffer for the next one,
if the next packet is present we pass it to the decoder to extract
the FEC info from it. If there's no FEC inside the packet, the Opus decoder
will return PLC.
2015-06-02 18:36:36 +02:00
doancea 8d98bc27ef FS-7462: fix FMTP in the INVITE - make it use values from opus.conf.xml 2015-06-01 12:45:19 -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
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
Anthony Minessale 1f5e5abbed fix frame size for encoder 2015-03-12 23:58:14 -05:00
Anthony Minessale e268a72603 FS-6994 #resolve 2014-12-12 17:52:02 -06:00