Commit Graph

33192 Commits

Author SHA1 Message Date
Mike Jerris 59df2a31b0 Merge pull request #1574 in FS/freeswitch from fs-11189-av-fix to master
* commit 'be782776b535c52f49f0d64145ee9dc3e12e4d19':
  FS-11189 add back default flags LOOP_FILTER and PSNR for H264
  FS-11189 set default cpu string to cpu/2/4 if not configured
  FS-11189 add helper functions and macros to dump encoder context params
  FS-11189 add default av conf to vanilla
  FS-11189 use AV_INPUT_BUFFER_PADDING_SIZE instead of FF_INPUT_BUFFER_PADDING_SIZE in newer ffmpeg
2018-08-24 15:27:00 +00:00
Christopher Rienzo 2fd87793b9 Merge pull request #1552 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:feature/FS-11286-add-onremotestream-callback-to-verto to master
* commit '61cdf6361739f0ecaef8d2766aa0bd5bb45ed731':
  FS-11286: Add onRemoteStream callback to Verto dialogs
2018-08-24 13:16:54 +00:00
Christopher Rienzo bbca34c6b2 Merge pull request #1546 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-11282-remove-ios-controls-hack-not-needed to master
* commit '5038ca7613e71d84a706a6a5d8c8359d272778e4':
  FS-11282: Remove iOS 'controls' hack, not needed
2018-08-24 13:00:27 +00:00
Christopher Rienzo 288779cda2 Merge pull request #1545 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-11281-verto.newcall-dialog-callback-overrides to master
* commit '5f96f669c2fe7f133164aab735b412bef794d932':
  FS-11281: Verto.newCall dialog callback overrides should be set before invite
2018-08-24 12:57:49 +00:00
Seven Du be782776b5 FS-11189 add back default flags LOOP_FILTER and PSNR for H264 2018-08-24 11:30:34 +08:00
Seven Du c1f8bfb442 FS-11189 set default cpu string to cpu/2/4 if not configured 2018-08-24 11:25:26 +08:00
Seven Du f52b2d26a7 FS-11189 add helper functions and macros to dump encoder context params 2018-08-24 11:22:18 +08:00
Seven Du dfd2dd51da FS-11189 add default av conf to vanilla 2018-08-24 10:58:54 +08:00
Seven Du c2b2f49c1d FS-11189 use AV_INPUT_BUFFER_PADDING_SIZE instead of FF_INPUT_BUFFER_PADDING_SIZE in newer ffmpeg 2018-08-24 08:15:06 +08:00
Mike Jerris 50dcc7a422 Merge pull request #1573 in FS/freeswitch from fs-11164-fix-unused-func to master
* commit '82350aced53bf76dce581b1264512d61ddafc768':
  FS-11164 fix unused function regression from 578d914b9
2018-08-23 23:58:32 +00:00
Seven Du 82350aced5 FS-11164 fix unused function regression from 578d914b9 2018-08-24 07:56:40 +08:00
Brian West 723782ec7f FS-11308: fix segfault on invalid multipart sdp 2018-08-23 09:50:32 -05:00
Christopher Rienzo 8b58f6bdfb Merge pull request #1572 in FS/freeswitch from bugfix/FS-11276-regression-dedicated-video-layers to master
* commit 'ecdae10548188f23a59529497e040abeb9a2e6f8':
  FS-11279: Wrap verto.clientReady message callback in check for onMessage callback function
2018-08-22 22:15:13 +00:00
Chad Phillips ecdae10548 FS-11279: Wrap verto.clientReady message callback in check for onMessage callback function
The verto.clientReady event calls the onMessage callback function passed in
the Verto object. We should check for the existence of this callback function
before trying to call it.
2018-08-22 18:12:13 -04:00
Christopher Rienzo 08d54933fa Merge pull request #1549 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-11285-overconstrainederror-on-some-android to master
* commit 'ef647e3e3e0510b5b9423b95d5c474441d0d4b6b':
  FS-11285: OverconstrainedError on some Android front cameras when frameRate.min is specified
2018-08-22 22:05:33 +00:00
Christopher Rienzo fc26aa9785 Merge pull request #1547 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-11283-ios-doesn-t-support-beforeunload to master
* commit '954b2564b2e4582949825988f30dde3fb16d1347':
  FS-11283: iOS doesn't support beforeunload, use recommended pagehide for that platform
2018-08-22 21:41:18 +00:00
Christopher Rienzo dd5fa0f2c6 Merge pull request #884 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-9258-recursive-calls-to-speedtest to master
* commit 'c037fc8c55af9d17eec4979575c3689d1b035f9d':
  FS-9258: Recursive calls to $.verto.rpcClient.speedTest() don't work
2018-08-22 21:28:25 +00:00
Christopher Rienzo 350225a446 Merge pull request #1541 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-11276-regression-dedicated-video-layers to master
* commit 'c83f7871fa8c5464c39a04b9b09938081c071155':
  FS-11276: dedicated video layers can no longer become audio floor holder
2018-08-22 21:24:44 +00:00
Mike Jerris 798e5ea095 swigall 2018-08-22 19:54:37 +00:00
Anthony Minessale d3e320ef56 FS-11346: [core] add api to pass pre-parsed values instead of dial strings to switch_ivr_originate
SWITCH_DECLARE(switch_status_t) switch_dial_handle_create(switch_dial_handle_t **handle);
SWITCH_DECLARE(void) switch_dial_handle_destroy(switch_dial_handle_t **handle);
SWITCH_DECLARE(void) switch_dial_handle_add_leg_list(switch_dial_handle_t *handle, switch_dial_leg_list_t **leg_listP);
SWITCH_DECLARE(void) switch_dial_leg_list_add_leg(switch_dial_leg_list_t *parent, const char *dial_string, switch_dial_leg_t **legP);
SWITCH_DECLARE(void) switch_dial_handle_add_global_var(switch_dial_handle_t *handle, const char *var, const char *val);
SWITCH_DECLARE(void) switch_dial_handle_add_global_var_printf(switch_dial_handle_t *handle, const char *var, const char *fmt, ...);
SWITCH_DECLARE(switch_status_t) switch_dial_handle_add_leg_var(switch_dial_leg_t *leg, const char *var, const char *val);
SWITCH_DECLARE(switch_status_t) switch_dial_handle_add_leg_var_printf(switch_dial_leg_t *leg, const char *var, const char *fmt, ...);
SWITCH_DECLARE(int) switch_dial_handle_get_peers(switch_dial_handle_t *handle, int idx, char **array, int max);
SWITCH_DECLARE(int) switch_dial_handle_get_vars(switch_dial_handle_t *handle, int idx, switch_event_t **array, int max);
SWITCH_DECLARE(switch_event_t *) switch_dial_handle_get_global_vars(switch_dial_handle_t *handle);
SWITCH_DECLARE(switch_event_t *) switch_dial_leg_get_vars(switch_dial_leg_t *leg);
SWITCH_DECLARE(int) switch_dial_handle_get_total(switch_dial_handle_t *handle);
SWITCH_DECLARE(void) switch_ivr_orig_and_bridge(switch_core_session_t *session, const char *data, switch_dial_handle_t *dh);

add switch_dial_handle_t *dh to end of args for switch_ivr_originate
2018-08-22 18:20:13 +00:00
Mike Jerris b03cde3c57 FS-11341: [core] clang static analyzer warning in switch_utils.h:switch_parse_cpu_string 2018-08-21 17:51:06 +00:00
Anthony Minessale 1cc809c5d9 FS-11340: [freeswitch-core] Add some more code to vad obj to enable debuging and manage states better #resolve 2018-08-21 00:03:18 +00:00
Piotr Gregor 6cd17fd556 FS-11052: Allow alias for crypto suites
For outgoing calls send AES crypto in offer using corrected names
for keys of length 192 and 256, i.e. names containing _192_CM_
and _256_CM_ instead of _CM_192_ and CM_256_. For incoming calls
accept both naming conventions, decaying to same entry in SUITES.

+ fix after SRTP failed for 256 keys:

Tests showed loop removing '=' from keys in switch_core_media_build_crypto

 1190     if (!switch_channel_var_true(channel, "rtp_pad_srtp_keys")) {
 1191         p = strrchr((char *) b64_key, '=');
 1192
 1193         while (p && *p && *p == '=') {
 1194             *p-- = '\0';
 1195         }
 1196     }

shouldn't be executed for AES_CM_256_HMAC_SHA1_32 and AES_CM_256_HMAC_SHA1_80
keys and it is meaningless for AES_CM_128_HMAC_SHA1_32 AES_CM_128_HMAC_SHA1_80
keys. Tested calling from Bria.

Introduced switch_channel_var_false and changed this to:
	if (switch_channel_var_false(channel, "rtp_pad_srtp_keys"))
to enter the loop if var is set to false (and not if it is _not_ set).
2018-08-13 20:57:50 +00:00
joshebosh 4dd572789a FS-11304 - [Configuration]: update vanilla config files for correcting conference_utils_auto_outcall_flags 2018-08-13 19:37:29 +00:00
Anthony Minessale 9e09a8e8b5 FS-11322: [freeswitch-core] Change ice handling to work with FireFox when in turn mode #resolve 2018-08-13 19:01:37 +00:00
Anthony Minessale d521e708d3 FS-11321: [mod_conference] Don't set avatar when its not allowed anyway #resolve 2018-08-13 19:01:14 +00:00
Seven Du 9056af8785 FS-11320 #resolve pass json string as param to ASR module 2018-08-13 19:00:39 +00:00
Seven Du ae4e48fa15 FS-11265 #resolve add detectSpeech and playAndDetectSpeech 2018-08-13 18:59:53 +00:00
Mike Jerris 3f51f3b4e4 FS-11206: [mod_conference] add conference hold feature 2018-08-13 18:59:49 +00:00
Mariah Yang 16c39d874e FS-11110 fix for resume detect on next detect 2018-08-13 18:58:47 +00:00
Anthony Minessale cc5dd29028 FS-11154: [freeswitch-core] Improve audio sync during loss #resolve 2018-08-13 18:57:19 +00:00
Seven Du 8cbe796831 FS-11333: [mod_mp4v2] improvements
update mod_mp4v2 fix record video and lipsync
refactor to use a dedicated video write thread
read frame_size from encoder to support mp3 and aac codec
fix audio only mode
control bandwidth and fps
2018-08-13 17:58:14 +00:00
Mike Jerris 8932608272 Merge pull request #1570 in FS/freeswitch from ~ANDYWOLK/freeswitch:FS-11328-update-lua-version-from-5.3.4-to to master
* commit '01329823a644dd627e1d7ee2201e51c490072329':
  FS-11328: [mod_lua] Update Lua version from 5.3.4 to 5.3.5 for the Windows build.
2018-08-10 19:00:24 +00:00
Andrey Volk 01329823a6 FS-11328: [mod_lua] Update Lua version from 5.3.4 to 5.3.5 for the Windows build. 2018-08-09 21:50:30 +03:00
Mike Jerris a1c0e7eb92 Merge pull request #1564 in FS/freeswitch from fs-11310-switch-core-file-pre-close to master
* commit '720128b61ed0fba0c45ba7caa0d3d7a4bde2ffb4':
  FS-11310 #resolve add more params for conference record stop event
  FS-11310 #resolve add optional switch_core_file_pre_close() to stop writing to file and possible to get file size related params
2018-08-09 06:53:04 +00:00
Mike Jerris efc6515e43 Merge pull request #1567 in FS/freeswitch from rayo-exec-dialplan-app to master
* commit '01bac4cc5f02f34f2fb3af87aa0bd055c8657adb':
  FS-11316 [mod_rayo] Add FS API support
  FS-11316 [mod_rayo] Add dialplan app execution component
2018-08-08 16:40:02 +00:00
Chris Rienzo 01bac4cc5f FS-11316 [mod_rayo] Add FS API support 2018-08-07 20:08:20 -04:00
Chris Rienzo 479c8a4a4e FS-11316 [mod_rayo] Add dialplan app execution component 2018-08-07 20:07:29 -04:00
Liyang 720128b61e FS-11310 #resolve add more params for conference record stop event 2018-08-04 01:17:55 +08:00
Liyang ce6366474f FS-11310 #resolve add optional switch_core_file_pre_close() to stop writing to file and possible to get file size related params 2018-08-03 21:54:47 +08:00
Mike Jerris 8f4831a8c6 Merge pull request #1560 in FS/freeswitch from ~ANDYWOLK/freeswitch:FS-11303-migrate-visual-c-components-redistribution to master
* commit '144bbec7fded8318750cfa9595631505dcdcb097':
  FS-11303: [Build-System] Migrate Visual C++ components redistribution using merge modules from v140 to v141 (VS2017), minor cleanup.
2018-08-01 17:52:03 +00:00
Andrey Volk 144bbec7fd FS-11303: [Build-System] Migrate Visual C++ components redistribution using merge modules from v140 to v141 (VS2017), minor cleanup. 2018-08-01 18:49:24 +03:00
Mike Jerris 36468ee6f4 Merge pull request #1540 in FS/freeswitch from ~ANDYWOLK/freeswitch:feature/FS-11271-add-mod_cdr_mongodb-to-the-windows to master
* commit '87f004bc1688d03960bcc77212d504ab9124122d':
  FS-11271: [Build-System] Add mod_cdr_mongodb to the Windows build.
2018-07-31 21:54:43 +00:00
Andrey Volk 87f004bc16 FS-11271: [Build-System] Add mod_cdr_mongodb to the Windows build. 2018-08-01 00:52:01 +03:00
Mike Jerris 263c699f61 Merge pull request #1559 in FS/freeswitch from ~ANDYWOLK/freeswitch:bugfix/FS-11298-fix-win32-build-under-visual-studio to master
* commit '13421eea17e76568df3d289f8c00f91d33c30e7a':
  FS-11298: [Build-System] Fix Win32 build under Visual Studio.
2018-07-31 21:37:33 +00:00
Andrey Volk 13421eea17 FS-11298: [Build-System] Fix Win32 build under Visual Studio. 2018-08-01 00:18:09 +03:00
Mike Jerris e91528943a Merge pull request #1558 in FS/freeswitch from ~ANDYWOLK/freeswitch:feature/FS-11297-add-mod_cidlookup-to-the-windows to master
* commit '21b135cc161caafb67563a74028f027b861aca69':
  FS-11297: [Build-System] Add mod_cidlookup to the Windows build.
2018-07-31 21:11:21 +00:00
Andrey Volk 21b135cc16 FS-11297: [Build-System] Add mod_cidlookup to the Windows build. 2018-07-31 23:20:14 +03:00
Mike Jerris 3931e8b68c Merge pull request #1557 in FS/freeswitch from ~ANDYWOLK/freeswitch:bugfix/FS-11295-mod_av-fix-wrong-path-to-yasm.exe to master
* commit '6712f3998fad7604b197fbc7168e3feb4a36fba8':
  FS-11295: [mod_av] Fix wrong path to yasm.exe
2018-07-30 21:03:07 +00:00
Andrey Volk 6712f3998f FS-11295: [mod_av] Fix wrong path to yasm.exe 2018-07-30 23:44:55 +03:00