58 Commits

Author SHA1 Message Date
Dragos Oancea
efeb720a01 FS-8034: mod_opus: send correct (configured) fmtp ptime,minptime,maxptime when originating call 2015-09-09 15:17:20 -04: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
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
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
Dragos Oancea
fe29cc6885 mod_opus : asymmetric sample rates based on fmtp params (maxplaybackrate and sprop-maxcapturerate) 2015-06-11 19:32:30 -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
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
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
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
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
Brian West
0911849154 Missed this we don't use underscores in settings in config files to prevent confusiong between variables and settings 2014-02-19 12:46:23 -06:00
Brian West
cf1329df63 FS-6209 --resolve 2014-02-18 22:21:46 -06:00
Ken Rice
6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Anthony Minessale
73c4eb5f10 add 8k support for opus 2013-11-08 03:44:21 +05:00
Nathan Neulinger
32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
Anthony Minessale
05dd02d0a6 make opus work, omfg .. serious??? you need to always advertise it as stereo using the standard way then specify it in the fmtp insread just to complicate things.... that's not cool =/ 2013-03-31 21:27:25 -05:00