Commit Graph

74 Commits

Author SHA1 Message Date
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
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
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
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 792530b744 FS-6293: fix srcdir build for mod_opus 2014-03-18 17:38:02 -04:00
Michael Jerris bcd9f49fbe move applications to use automake 2014-03-07 18:36:12 -05:00
Brian West 4516668db9 FS-6209 don't change behavior from defaults if the values aren't defined 2014-02-27 15:29:25 -06:00
Brian West 26e96effe9 FS-6209 failing to load without a conf is bad 2014-02-27 15:25:37 -06:00