Commit graph

4028 commits

Author SHA1 Message Date
Seven Du
978748ed09 FS-7519: set encoder zerolatency 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
Seven Du
81bec5ebd0 FS-7519: add missing deps 2015-05-28 12:46:48 -05:00
Anthony Minessale
2e1bdfb24a FS-7519: add automistake for mod_av 2015-05-28 12:46:48 -05:00
Seven Du
5ce10274e1 FS-7500: use the new video function instead of start a new thread in record_fsv 2015-05-28 12:46:48 -05:00
Seven Du
ba43facf91 FS-7500: fix play_fsv for WebRTC 2015-05-28 12:46:48 -05:00
Seven Du
dcb9d3c99e FS-7519: rename mod_ffmpeg to mod_av 2015-05-28 12:46:48 -05:00
Seven Du
4c95ae0510 cleanup mod_ffmpeg 2015-05-28 12:46:48 -05:00
Anthony Minessale
b90d24a05f FS-7513: fix video switching in conference 2015-05-28 12:46:48 -05:00
Anthony Minessale
79bc5bcda2 FS-7513: add video decode conference flag 2015-05-28 12:46:47 -05:00
Anthony Minessale
fbe347ead4 add mod_ffmpeg 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
c584bf5511 FS-7500: reverse default for CF_VIDEO_ECHO to false and now it must be enabled when desired instead of disabled when not needed 2015-05-28 12:46:47 -05:00
Anthony Minessale
4dc155f164 FS-7500: add switch_core_session_raw_read to put session into raw read mode without needing a local codec var (WE SHOULD REFACTOR MUCH OF switch_ivr_* to use this...) and add echo_decode_audio option to echo app 2015-05-28 12:46:47 -05:00
Anthony Minessale
a74b6f62a2 FS-7500: fix some of the debugging tools 2015-05-28 12:46:46 -05:00
Seven Du
55c5f1da1f FS-7500: fix decode_video App 2015-05-28 12:46:46 -05:00
Seven Du
3c7fc85a31 FS-7500: add more example yuv files 2015-05-28 12:46:46 -05:00
Anthony Minessale
1093139271 FS-7500: make play_yuv silent since opus echo tends to kill chrome 2015-05-28 12:46:45 -05:00
Seven Du
2d49b33002 FS-7500: fix follows the last refactor of core code 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
Brian West
cd98ec85e2 fix line endings 2015-05-28 12:46:43 -05:00
Seven Du
3466a2e468 FS-7500: fix and use 32bit timestamp, frame->timestamp is defined as switch_size_t and not always 32bit 2015-05-28 12:46:43 -05:00
Seven Du
055de41484 FS-7513: let the core thread to read video if vid-floor in conference already locked-hold by someone else 2015-05-28 12:46:43 -05:00
William King
4fc94e3907 FS-7500 S-7513: Few build fixes 2015-05-28 12:46:43 -05:00
Seven Du
99ed41a4bd FS-7513: Example code to use the core video thread with a custom callback
It by default remains the default behaviour

However, you can setup a relationship between members to let the
member choose to see anyone else but the floor, e.g.:

  conference 3000 relate 1 2 sendvideo

In the above command member 2 will see member 1's video regardless
member 1 has video floor or not
2015-05-28 12:46:43 -05:00
Seven Du
422a1f0419 FS-7513: show relationships 2015-05-28 12:46:43 -05:00
Seven Du
48c1363476 FS-7513: force floor on member join 2015-05-28 12:46:43 -05:00
Seven Du
ea2f00b3d9 FS-7500: refactor to use switch_core_video
added switch_core_codec_encode_video and switch_core_codec_decode video and add separate video implementations
the switch_core_video code depends on libvpx, wraped into the switch_ namespace like switch_apr, need to figure out how to find the correct libvpx lib in autotools
2015-05-28 12:46:42 -05:00
Seven Du
71cafe536b FS-7500: add decode_video App 2015-05-28 12:46:42 -05:00
Seven Du
74d6db8809 FS-7514: refactor timestamp code 2015-05-28 12:46:42 -05:00
Seven Du
c9a13474a4 FS-7517: add play_yuv to test encoder 2015-05-28 12:46:42 -05:00
Seven Du
67334bea27 FS-7513: [mod_conference] video recording in conference
conference 3000 record /tmp/testrecord.fsv
call 9194 try to playback
mp4 should also work with the mp4 file format, will be available soon
2015-05-28 12:46:41 -05:00
Seven Du
a7b6ef0888 FS-7500: [mod_fsv] fix fsv sample_count and mux of channels 2015-05-28 12:46:41 -05:00
Chris Rienzo
25f2f18c5f FS-7557 fix crash when doing 'limit_usage mongo foo bar' 2015-05-15 08:43:00 -04:00
Chris Rienzo
13513439ba FS-7557 mod_mongo add limit backend - still testing 2015-05-14 17:19:42 -04:00
Steve Underwood
b156cbd604 A slightly mroe elegant an commented fix for the potential overflow issue in udptl.c 2015-05-12 12:00:04 +08:00
Michael Jerris
dbc550a26d FS-7184: add buffer overflow check in udptl_rx_packet 2015-05-11 19:46:27 -05:00
Chris Rienzo
d8d3db284c FS-7496 [mod_http_cache] lookup file extension from content-type if missing in URL 2015-04-30 16:06:19 -04:00
Brian West
d29c2d74b6 FS-7496 #resolve strip url args after the file extension 2015-04-30 14:29:21 -04:00
Chris Rienzo
b28f7acac1 FS-7496 Updated mime.types, added switch_core_mime_type2ext function and used it in mod_httapi. Now, file extensions defined in mime.types will be applied if mod_httapi downloads a file without one. 2015-04-30 14:24:41 -04:00
Brian
40441413e0 Typo from previous convenience app commit 2015-04-16 07:50:07 -05:00
Brian
6a4c2b3406 convenience app 2015-04-15 17:01:12 -05:00
Chris Rienzo
c6ef0558ff FS-7406 added deduplicate_dtmf application 2015-04-01 14:08:49 -04:00
Chris Rienzo
21d1e6fc4b FS-7378 play_and_detect_speech: protect against NULL result 2015-03-18 15:30:12 -04:00
Jeremy Childs
669d613777 FS7750: When using the api command group, there is no way to return the contact list separated by :_:, which is required to group call extensions that have been multiply-registered. 2015-03-06 14:39:53 -07:00
Anthony Minessale II
b448953fab Merge pull request #206 in FS/freeswitch from ~ARTURZ/freeswitch:FS-7306-fs_encode-sleep-cleanup to master
* commit '921f77668f39ee9a768c0515dba054f99cf0bd75':
  FS-7306: fs_encode is sleeping to much - cleanup
2015-03-06 11:31:56 -06:00
Anthony Minessale
5a96512345 FS-7305 #resolve 2015-03-06 16:44:53 -06:00
Michael Jerris
3a70750b42 FS-7340: remove all build system references to json-c because we are no longer using it anywhere 2015-03-04 14:06:18 -05:00
Mike Jerris
3c9711f160 Merge pull request #213 in FS/freeswitch from ~MISHEHU/freeswitch:bugfix/FS-7340-mod_curl-json-api-change to master
* commit '5303101df05a01e82060df253d68d14a44f4260b':
  FS-7340: Converting the json handling to use the types and functions in switch_json.h .
2015-03-04 12:37:07 -06:00
Yossi Neiman
5303101df0 FS-7340: Converting the json handling to use the types and functions in switch_json.h .
FS-7340:  mod_curl: Missed a free.

FS-7340:  mod_curl:  Saved a few lines of code, added a check for successful allocation of cJSON structures.
2015-03-04 12:24:04 -06:00
Michael Jerris
b3cb89a1fb FS-7342: regression from FS-7230 957c8fc9. Don't destroy buffers we are currently using, only create them if they are not yet created 2015-03-04 11:35:08 -05:00
Chris Rienzo
e338b8865b FS-7346 #resolve #comment update mod_mongo driver to 1.1.0 2015-03-04 09:06:10 -05:00
Chris Rienzo
3cd481820e FS-7323 #resolve #comment [mod_http_cache] added http_remove_cache <url> API call to manually expire a cached URL.
Added {refresh=true} parameter that can be prefixed to URL to force refresh when using http:// https:// file formats or the http_get API.
Examples:
    http_remove_cache http://phono.com/audio/troporocks.mp3
    http_get {refresh=true}http://phono.com/audio/troporocks.mp3
    <action application="playback" data="{refresh=true}http://phono.com/audio/troporocks.mp3"/>
2015-02-25 09:43:38 -05:00
Brian West
a41505f66b FS-7313 #resolve any further issues in this code it will just be removed 2015-02-23 16:38:20 -06:00
Italo Rossi
e4f22c82fc https://freeswitch.org/jira/browse/FS-7126 fix variable expansion in translate api when there is no session involved. 2015-02-23 13:45:25 -03:00
Brian West
17585e831a FS-7307 #resolve dont session log in an api command as there is no session 2015-02-23 09:48:08 -06:00
Artur Zaprzała
921f77668f FS-7306: fs_encode is sleeping to much - cleanup 2015-02-23 11:18:57 +01:00
Anthony Minessale
609c02955f fix the thing the guy mentioned on irc 2015-02-21 00:49:18 -06:00
Brian West
957c8fc910 FS-7230 #comment try this #resolve 2015-02-20 12:41:48 -06:00
Anthony Minessale
b66aa6af92 FS-7306 #comment fix both ways 2015-02-20 18:10:01 -06:00
Mike Jerris
1c3f3e2d39 Merge pull request #182 in FS/freeswitch from ~CXREG/freeswitch-memcache-file:eavesdrop_bridge_single_leg to master
* commit '2890afc9184b142c931a98fff267d408e807b862':
  FS-7285 allow eavesdrop to bridge only one leg
2015-02-20 11:27:12 -06:00
Anthony Minessale
f4aaeedb0c FS-7306 #resolve 2015-02-19 23:06:41 -06:00
Brian West
9fe512805b FS-7301 #comment set the tx-reinvite-packet-count to 400, seems we are too fast for the remote in this case which is causing your failure #resolve 2015-02-19 14:43:58 -06:00
Marc Olivier Chouinard
01b01c5e37 Merge pull request #194 in FS/freeswitch from ~ARTURZ/freeswitch:FS-7298-race-condition-when-callcenter-member to master
* commit '0df4085c3dbd3a4bfbc602153e86b7b1b7f0f617':
  Fix race condition when callcenter member cancels the call.
2015-02-18 15:02:50 -06:00
Brian West
3ad1628ff0 FS-7230 #resolve #comment please update 2015-02-18 09:21:00 -06:00
Artur Zaprzała
0df4085c3d Fix race condition when callcenter member cancels the call. 2015-02-18 14:26:02 +01:00
Michael Jerris
302a339fdf FS-7294: Enable -Werror when building with clang compiler #resolve 2015-02-17 12:20:33 -05:00
Dave Olszewski
2890afc918 FS-7285 allow eavesdrop to bridge only one leg
Add channel variables eavesdrop_bridge_aleg and eavesdrop_bridge_bleg,
and if one is set to true on the eavesdrop channel, bridge that leg from
the target.  If neither is specified, bridge both.
2015-02-14 14:45:15 -08:00
Anthony Minessale
5904bec1b6 FS-7236 refactor to fix audio problem from 7c6367052c 2015-02-12 16:44:55 -06:00
Chris Rienzo
30917dd19c FS-7265 #resolve #comment [mod_mongo] add mongo_find_n API 2015-02-11 11:55:46 -05:00
Mike Jerris
7c6367052c FS-7236: fix mutex use before init error caused by 27c8622 2015-02-09 11:23:58 -06:00
Michael Jerris
9e15c4e5b5 FS-7236: fix code before declaration 2015-02-05 12:45:14 -05:00
Anthony Minessale
27c8622eab FS-7236 #resolve 2015-02-05 16:53:07 -06:00
Michael Jerris
dc071a1345 FS-7214: [mod_memchace] fix seg caused by bad command argument bounds checking for flush and deleete 2015-01-29 10:41:51 -06:00
Brian West
b2c6d70cc8 FS-7208 #comment _undef_ as the header and/or ident will make it be an empty string which is the same you were doing on your local builds #resolve 2015-01-29 08:25:01 -06:00
E. Schmidbauer
01dcb74f33 FS-7187 add switch_cache_db_create_schema() to test for SCF_AUTO_SCHEMAS flag 2015-01-22 15:41:22 -05:00
Anthony Minessale
f770b318cf FS-7106 #resolve 2015-01-21 18:59:05 -06:00
Anthony Minessale
59a9669485 prevent crash when calling mediaStats JSON function in certian circumstances 2015-01-13 21:49:41 -06:00
Simon Ditner
85b8631d62 Add conference member data to floor event
Between v1.2 and v1.4, member data was factored out. This makes it so
that one can not determine who the originator of a floor change event
is.

With this change, the meta data related to the conference member whom
initiated the floor change event is added to the event.

See FS-7136
2015-01-06 12:43:16 -05:00
Brian West
1965b3b18d FS-7106 #resolve Fix concurrency issue 2014-12-30 09:06:32 -06:00
Travis Cross
750b1dd807 Allow streaming binary data from mod_memcache
Previously data returned from `memcache get` would be truncated at the
first NULL byte.

By using raw_write_function here to stream the returned memcache
value, we allow mod_memcache to be used for audio and other arbitrary
binary data.

Dave has a format module planned that relies on this.

Thanks-to: Dave Olszewski <dolszewski@marchex.com>

FS-7114 #resolve
2014-12-28 00:42:01 +00:00
Travis Cross
bca7216fdd Run dos2unix on mod_expr HTML files 2014-12-25 10:38:10 +00:00
Travis Cross
65e678ba1d Fix mod_expr clamp function
The clamp(v,a,b) function wraps v around the interval [a,b).

However prior to this commit, `clamp` was ignoring the third argument
and using the second argument again in its place.  This resulted in a
division by zero.  Hence `clamp` didn't work at all.

Even if the arguments were treated correctly, `clamp` incorrectly
multiplied rather than added whenever v < a.  This would have produced
bogus results.  (Thanks to Shona McNeill for pointing this out.)

Note that as implemented, `clamp` is undefined for b >= a.

These errors are present in the last upstream C version, v2.7.
They've been corrected in the C++ version that upstream now maintains
instead.

Thanks-to: Shona McNeill <prufrax@googlemail.com>

FS-7070 #resolve
2014-12-25 10:18:31 +00:00
Mike Jerris
85ff3ae3f7 Merge pull request #80 in FS/freeswitch from ~TCSEKE/freeswitch-fs-4930:master to master
* commit '83acda04131c17469fd0fbe0cb4597c15466bfe5':
  file_string write failover FS-4930
2014-12-22 13:34:59 -06:00
William King
0a0b9262b4 Build fix for gcc 4.9 fixing a variable set but not used error 2014-12-20 14:46:21 -08:00
Anthony Minessale
5fcff501b6 FS-7093 %FEATURE #resolve #comment added to master 2014-12-20 18:29:44 -06:00
Dmitriy N. Borisov
42ecb3390e list_users tipo correction 2014-12-19 11:04:54 +03:00
Moises Silva
d786490584 Fix timestamps in mod_bert broken by the cpu improvements refactoring 2014-12-18 02:04:05 -05:00
Moises Silva
17574a88e4 Add bert stats to mod_bert::lost_sync event
The following values can be read from the event:

sync_lost_percent - Error percentage within the analysis window
sync_lost_count - How many times sync has been lost
cng_count - Counter of confort noise packets
err_samples - Number of samples that did not match the sequence
2014-12-15 00:21:03 -05:00
Moises Silva
42acb62120 Improve mod_bert cpu efficiency
* Use memmem() and memcmp() for pattern checks
* Use a static pre-built buffer for the write frame
2014-12-15 00:21:03 -05:00
Marc Olivier Chouinard
e1cb0e8632 Merge pull request #127 in FS/freeswitch from ~ITALOROSSI/freeswitch:mod_callcenter-queue-list-count-by-state to master
* commit 'f63f8686bc8da391b3c46b24e10571215c8b377f':
  FS-7049 - Documentation for state optional paramenter in callcenter_config queue list and count
  fix FS-7049 - Count and list agents based on their state
2014-12-11 21:01:03 -06:00
Italo Rossi
f63f8686bc FS-7049 - Documentation for state optional paramenter in callcenter_config queue list and count 2014-12-11 23:43:03 -03:00
Marc Olivier Chouinard
df6ea843e4 Merge pull request #133 in FS/freeswitch from ~HDIOGENES/freeswitch-fs-7018-2:master to master
* commit '1bcdb49bced4be339d73532181fe6fa3938d0bd8':
  Fix JIRA (FS-7018): mod_callcenter's longest-idle-agent strategy is unfair
2014-12-11 17:16:47 -06:00
Anthony Minessale
5ca609e637 factor channel count into flush len 2014-12-08 20:36:25 -06:00
Humberto Diógenes
1bcdb49bce Fix JIRA (FS-7018): mod_callcenter's longest-idle-agent strategy is unfair 2014-12-04 16:12:20 -03:00
Italo Rossi
80649df65c fix FS-7049 - Count and list agents based on their state 2014-12-02 22:57:43 -03:00
Mike Jerris
74f243bc3b Merge pull request #95 in FS/freeswitch from ~ITALOROSSI/freeswitch:master to master
* commit 'f87c335e8a49da7b0a2b6f19b45f285f6355e2e0':
  Only waiting for agent channel to hangup.
2014-11-19 15:32:19 -06:00
Brian West
7c0da5cc40 FS-6957 fix regression 2014-11-17 10:36:03 -06:00