92 Commits

Author SHA1 Message Date
Brian West
d744a18fd3 Merge pull request #550 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-fec-fix to master
* commit '65fd07923eb3d53931616fcd701a809e71f4243b':
  FS-8319: mod_opus: fix and cleanup of switch_opus_has_fec() and switch_opus_info().
2015-10-28 13:14:53 -05:00
Brian West
768a7ab6e5 Merge pull request #555 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-repacketization-toggle-fec to master
* commit 'd145111eed3505e11d9d0f0a891eab3945dddf36':
  FS-8344: mod_opus: toggle FEC on the last frame which is to be packed, so that FEC will be only present on the first SILK frame of the next Opus frame (Opus repacketization).
2015-10-28 13:12:17 -05:00
Brian West
cc25c46bfc Merge pull request #549 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-decoder-statistics to master
* commit 'ea65a31e307755dfbaae4e65221417a1d4583e04':
  FS-8313: mod_opus: show decoder stats at end of call (how many times it did PLC or FEC)
2015-10-27 11:47:12 -05:00
Mike Jerris
6b5b1a3d86 FS-8389: [build] Fix msvc 2015 build warnings 2015-10-26 13:45:48 -04:00
Bradley Jokinen
a52aaa9225 FS-8348 Fix crash caused by trying to get channel of a null session 2015-10-15 11:01:53 -05:00
Dragos Oancea
d145111eed FS-8344: mod_opus: toggle FEC on the last frame which is to be packed, so that
FEC will be only present on the first SILK frame of the next Opus frame (Opus repacketization).
2015-10-15 08:48:25 -04:00
Dragos Oancea
65fd07923e FS-8319: mod_opus: fix and cleanup of switch_opus_has_fec() and switch_opus_info(). 2015-10-12 10:37:09 -04:00
Anthony Minessale
393ee022b0 FS-8179 regression setting fec_decode breaks output on stereo calls 2015-10-09 12:30:45 -05:00
Dragos Oancea
ea65a31e30 FS-8313: mod_opus: show decoder stats at end of call (how many times it did PLC or FEC) 2015-10-07 14:55:34 -04:00
Anthony Minessale
7f85faf21e FS-8130 FS-8305 refactor of last patch plus suppression of scary harmless message about opus fec 2015-10-06 09:34:29 -05:00
Dragos Oancea
8a0006dcdc FS-8302: fix some printing/logging because switch_opus_show_audio_bandwidth() was not returning TRUE/FALSE as expected 2015-10-05 10:54:21 -04:00
Brian West
75b01a306e FS-8130 2015-10-04 16:53:54 -05:00
Anthony Minessale II
86197b7ee3 Merge pull request #479 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-init-improvements to master
* commit '27d7ebeb94c5ea23e612e0a7356919f19e74bdd5':
  FS-8296: mod_opus: Improve the way Opus is initialized when a call comes in .
2015-10-04 11:22:04 -05:00
Dragos Oancea
27d7ebeb94 FS-8296: mod_opus: Improve the way Opus is initialized when a call comes in . 2015-10-03 15:26:39 -04:00
Dragos Oancea
01545832f4 FS-8295: mod_opus: FMTP fixes: usedtx for 8khz . useinbandfec and cbr (both 48 khz and 8 khz)
Some FMTP params were broken when INVITE was originated by FS.
2015-10-03 14:47:08 -04:00
Anthony Minessale
dcdf4685af FS-8243 8b088c26fbf4eba3daaacfaa6e29ab765f7321ba breaks perfectly working fec, adding back the missing part that actually works in most surroundings 2015-10-03 02:38:00 -05:00
Michael Jerris
5f210b4d75 FS-8243: fix typo of return from previous patch 2015-10-02 23:43:11 -04:00
Mike Jerris
76b11fd8c7 Merge pull request #430 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-originate-fmtp-ptime to master
* commit 'efeb720a01993a52f2614cbcab14995a88af2721':
  FS-8034: mod_opus: send correct (configured) fmtp ptime,minptime,maxptime when originating call
2015-10-02 12:57:53 -05:00
Mike Jerris
41431c0f09 Merge pull request #487 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-keep-fec-on-improvements-loss to master
* commit '6385fb863a7e800dbb2668fd0ed4e1203b1ba18e':
  FS-8161: mod_opus: Keep FEC enabled only if loss > 10 ( otherwise PLC is supposed to be better)
2015-10-02 12:52:51 -05:00
Anthony Minessale
b61ebc759b FS-8179 2015-10-02 12:51:57 -05:00
Mike Jerris
822e5a7b96 Merge pull request #516 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-fec-detect-improvement to master
* commit '8b088c26fbf4eba3daaacfaa6e29ab765f7321ba':
  FS-8243: Improve the way FEC info is detected within frames (added support for ptimes higher than 20 ms for FEC detection ) (Claude Lamblin)
2015-10-02 12:50:34 -05:00
Corey Burke
0641315ef6 Use use-dtx setting from config in request to callee. 2015-10-02 08:13:05 -07:00
Anthony Minessale
ead42d56b5 FS-8179 #resolve [mod_opus: improvement on new JB buffer debugging (debug lookahead FEC)] 2015-10-01 19:12:03 -05:00
Dragos Oancea
30847cf76b FS-8256: mod_opus: more FMTP cleanup 2015-09-30 14:35:45 -04:00
Dragos Oancea
8b088c26fb FS-8243: Improve the way FEC info is detected within frames (added support for ptimes higher than 20 ms for FEC detection )
(Claude Lamblin)
2015-09-29 18:35:47 -04:00
Anthony Minessale
7ea9b684a7 FS-8204 add sprop-stereo also 2015-09-22 15:31:20 -05:00
Dragos Oancea
6385fb863a FS-8161: mod_opus: Keep FEC enabled only if loss > 10 ( otherwise PLC is supposed to be better) 2015-09-17 13:29:38 -04: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
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