Commit Graph

312 Commits

Author SHA1 Message Date
Seven Du 9d0ad92d10 FS-11237 #resolve speak text with colon 2018-07-24 07:21:58 +00:00
Seven Du 91f781d811 FS-10859 #resolve 2017-12-24 10:23:13 +08:00
Trever L. Adams c57c740c68 FS-9785: Fix src/switch_ivr_play_say.c:1668:48: error: ‘*’ in boolean context, suggest ‘&&’ instead [-Werror=int-in-bool-context] 2017-06-29 21:35:38 -06:00
Sergey Safarov df1ab07ca4 FS-9924: Removed extra space in source files 2017-02-09 23:59:49 -05:00
Anthony Minessale 794a6f4aa1 FS-9933: [freeswitch-core] Fallback from native file failure to alternate ext #resolve 2017-01-10 17:00:18 -06:00
Anthony Minessale bb199aabde FS-9860 2017-01-03 13:15:03 -06:00
Anthony Minessale 697be5d515 FS-9860 2017-01-03 13:06:20 -06:00
Anthony Minessale a788715bb3 FS-9870: [freeswitch-core] playback_timeout_sec does not stop a delimited playback #resolve 2016-12-21 15:36:03 -06:00
Brian West efc2ed2a49 FS-9632 remove SWITCH_FILE_FLAG_VIDEO flag if we fail to receive video so we fall thru and record the audio only. Previously it would just fail to function as expected. 2016-10-19 12:57:01 -05:00
Matthew Grooms 6c3710df4d FS-9264: Introduce two new api calls named detect_audio and detect_audio_silence. The existing wait_for_silence call never actually waits for silence until it first detects non-silence. There is also no way to set an independent timeout for detecting both the non-silence and then silence. This causes problems when wait_for_silence is called on an already quiet channel. Splitting the function up into two separate calls with separate timeouts offers more flexibility. 2016-06-16 15:34:37 -05:00
Peter Wu 69d643b53f Properly handle NULL var_name for switch_play_and_get_digits
Do not set "_invalid" in case var_name is empty or unset. While at it,
clear the "foo_invalid" variable before doing anything else when a regex
is passed, this ensures that the variable really reflects the current
run.

Fixes an issue in original FS-7783 feature.
2016-05-06 18:33:32 +02:00
Anthony Minessale bdf84bb58b FS-8909 FS-8914 refactoring 2016-03-09 18:01:13 -06:00
Anthony Minessale f39c9e009b FS-8909 FS-8914 2016-03-09 18:01:13 -06:00
Anthony Minessale 5db985d117 FS-8909 add record_indication variable/param with path to beep sound etc 2016-03-09 10:56:07 -06:00
Anthony Minessale 2cf9962f61 FS-8914 2016-03-09 00:02:59 -06:00
Anthony Minessale 68588e811f FS-8914 #resolve [recording mp4 cuts off the end in some cases] 2016-03-08 18:53:55 -06:00
Anthony Minessale ee7a298f40 FS-8868 #resolve [recording app to respect bandwidth set in SDP] 2016-03-07 21:56:13 -06:00
Anthony Minessale b7227465b6 FS-8909 #resolve [Add feature to play background video while recording inbound video] 2016-03-07 19:59:10 -06:00
Anthony Minessale 550029b80e FS-8811 #resolve [FS 1.7 crashes intermittently] 2016-03-04 16:56:55 -06:00
Anthony Minessale f563760604 FS-8588 #resolve [Unreliable digit collection] 2015-12-01 13:21:34 -06:00
Anthony Minessale 785a5851d0 FS-8338 a few regressions that were relying on this bug to function properly in stereo situations 2015-10-20 11:00:12 -05:00
Anthony Minessale 95d4f18e52 FS-7654 regression on eavesdropping on channels playing a file because of channel count of 0 on write frame from stream_file 2015-07-22 00:29:56 -05:00
William King eed386bc8d FS-7783 Add channel variable for capturing DTMF input when using play_and_get_digits when the response does not match 2015-07-06 14:13:12 -07:00
karl anderson c4bd342bda FS-7771 #resolve
set a channel var if the recording is terminated due to silence hits
2015-07-03 10:36:58 +01:00
Anthony Minessale 6a102816f6 FS-7679 #resolve #comment please test, also added some cases of calling a file with no video as well 2015-06-25 13:33:47 -05:00
Anthony Minessale 700a18ae6b FS-7519: auto set some values on avformat recording 2015-05-28 12:47:33 -05:00
Anthony Minessale 216850c1a0 FS-7502: set video flag on record session 2015-05-28 12:47:14 -05:00
Anthony Minessale 7c294f242f FS-7504: allow <modname>.<codecname> support so multiple modules can exist for the same codec 2015-05-28 12:47:13 -05:00
Anthony Minessale 52d15f6398 FS-7505: clean up and support multiple formats to same extensions {modname=mod_vlc}rtmp://foo.com/flvplayback also move [/tmp]file to be {spool_path=/tmp} 2015-05-28 12:47:13 -05:00
Anthony Minessale 9a7a33fb55 FS-7500: block in flag set for wait for video ready 2015-05-28 12:47:07 -05:00
Anthony Minessale 5b509a72ef FS-7505: train video a little in beginning and make play file wait for it to train 2015-05-28 12:47:07 -05:00
Anthony Minessale a42f40f938 FS-7514 FS-7505: clean up more from yesterday 2015-05-28 12:47:06 -05:00
Anthony Minessale a63dab7a4a FS-7503 FS-7514: A bunch of stuff:
Get filehandles working with video in some cases (if using vlc://):
    mod_conference for play and record video (will record the canvas in mix mode or floor holder in non-mix mode)
    regular playback app should be able to play vlc streams

Add no-minimize-encoding member flag so particilar memebers can opt out of that setting and still get their own encoded stream (for bw related needs)

TODO:

  mod_vlc is a mess.  Find a way to merge video_context and file_context.  They are very similar and they are intertwined and messy.
  Find out why vlc creates messed up mp4 files that don't play everywhere
  Get VLC so it can record aac, mp4x webm
2015-05-28 12:47:06 -05:00
Michael Jerris 302a339fdf FS-7294: Enable -Werror when building with clang compiler #resolve 2015-02-17 12:20:33 -05:00
Anthony Minessale 66dafbde8c FS-6902 #comment add patch to make this problem obvious and fail on record and playback 2014-10-09 16:53:38 -05:00
Anthony Minessale 295fcce8a8 add buffer_seconds param to shout filehandles to override the original default of 1 and remove previous code to attempt to buffer several seconds of audio in the open routine. Any experiencing jittery playback from slow shout destinations should add {buffer_seconds=N} to the file path to increase the amount of time allotted for buffering when no audio is discovered on the wire 2014-09-17 04:54:38 +05:00
Anthony Minessale b2162142f3 FS-6667 #comment block sending audio when dmachine is reading 2014-08-06 01:21:34 +05:00
Anthony Minessale 7642d846a9 some more channels updates 2014-06-13 05:13:43 +05:00
Anthony Minessale 579a051867 add channels param the the silence generator function 2014-06-13 04:49:44 +05:00
Anthony Minessale 928a989de1 first pass of stereo support 2014-06-12 22:06:33 +05:00
Anthony Minessale 79ebcb104b add enable-chat sofia profile param which defaults to true when not present, set to false to turn off the chat interface in sofia 2014-04-19 12:29:10 -05:00
Travis Cross b72194b72b Move loop exit conditionals
The net effect here is the code looks more "regular" and reads more
linearly.
2014-04-09 18:41:03 +00:00
Travis Cross 4a8dace5ab Avoid considering more phrase actions after break
Previously we would continue considering phrase actions even after
receiving a break action; we would only break on the next input
clause.  It appears the intent here was to break before the next
action.
2014-04-09 18:41:02 +00:00
Travis Cross 75b8f3e0a8 Improve comment 2014-04-09 18:41:02 +00:00
Travis Cross ffc3f9bb0b Consolidate two conditionals
If we get SWITCH_STATUS_BREAK then we didn't get
SWITCH_STATUS_SUCCESS.
2014-04-09 18:41:02 +00:00
Travis Cross 549aba0d2f Remove variable assignment without effect
We're breaking out of the loop here anyway, so setting done to true is
useless.
2014-04-09 18:41:02 +00:00
Travis Cross 2ace7bc79b Fix memory leak in phrase macro playback
We were leaking memory when break_on_match was set or when we received
back SWITCH_STATUS_BREAK from a callee as we were failing to free
field_expanded_alloc.
2014-04-09 18:41:02 +00:00
Travis Cross f83d6770ff Remove tautological conditional
If pattern is null we're setting it to a non-null value, so this
branch will always be taken.

Use `git diff -w` or `git log -p -w` to see what's going on in this
commit.
2014-04-09 18:41:02 +00:00
Travis Cross 1a71cf886e Fix memory leak on memory error
In the event of a memory error, we were trying to free a null pointer
while leaking the allocation for field_expanded_alloc.
2014-04-09 18:41:02 +00:00
Travis Cross a0b8d92219 Move variables down into loop where they're used
These variables aren't used outside of this for loop, so they should
be declared within it.
2014-04-09 18:41:01 +00:00