Commit Graph

359 Commits

Author SHA1 Message Date
Anthony Minessale 81ef7703bd FS-7500: add video_write_overlay and stop_video_write_overlay
Use it to add an image to the write stream to see a recording banner on video echoed back to you during recording.
ARGS: <file> [<position>] [<opacity 0-255>]

POSITIONS:
left-top
left-mid
left-bot
center-top
center-mid
center-bot
right-top
right-mid
right-bot

<extension name="example">
  <condition field="destination_number" expression="^overlay$">
    <action application="answer"/>
    <action application="video_write_overlay" data="/path/to/img.png"/>
    <action application="record" data="/data/file.mp4"/>
    <action application="stop_video_write_overlay"/>
   </condition>
</extension>
2015-05-28 12:47:32 -05:00
Anthony Minessale 1cbc3c58a5 FS-7502: add record_concat_video=true to show split video recordings with session record 2015-05-28 12:47:15 -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 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
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 6822994d25 FS-7500: video_decoded_echo to echo_decode_video 2015-05-28 12:46:45 -05:00
Anthony Minessale ec9b7c0499 FS-7500: add video_decoded_echo var to make the echo app decode and re-encode video frames for testing 2015-05-28 12:46:45 -05:00
Seven Du dcca71d97d FS-7502: refresh video on video record or eavesdrop 2015-05-28 12:46:41 -05:00
Seven Du b23ba52807 FS-7502: video eavesdrop 2015-05-28 12:46:41 -05:00
Seven Du 90b654e923 FS-7502: add simple video media bug implementation, should work with .fsv, be sure to set enable_file_write_buffering=false
Conflicts:
	src/include/switch_types.h
2015-05-28 12:46:41 -05:00
Anthony Minessale d413bcd7b3 FS-7567 #resolve #comment additional occurrences beyond the initial patch discovered 2015-05-21 09:50:49 -05:00
Anthony Minessale 5045864672 FS-7541 use switch_time_now for more accurate timestamps and wait for 3 consecutive missing packets to write silence into native recordings 2015-05-18 14:29:39 -05:00
Anthony Minessale II 50edd26068 Merge pull request #199 in FS/freeswitch from ~ARTURZ/freeswitch:FS-7307-native-recording-buffering to master
* commit '8e72fafb2c11d6fc8532f0de8d9d5d26200376fd':
  FS-7307: When recording a call in native format, buffering does not work
2015-04-28 13:14:41 -05:00
Chris Rienzo 3c2afc6a2c FS-7406 #resolve #comment Added DTMF-Source header to DTMF event.
DTMF-Source may have the following values:
   APP : injected by application (send_dtmf, etc)
   ENDPOINT : detected by endpoint signaling (like SIP INFO)
   INBAND_AUDIO : detected by start_dtmf, spandsp_start_dtmf, etc
   RTP : detected as 2833/4733 telephone event
   UNKNOWN : unknown source

One possible use of this header is to determine telephone events
are being received, and if so, disable inband detection.
2015-04-01 11:00:43 -04:00
Chris Rienzo 21d1e6fc4b FS-7378 play_and_detect_speech: protect against NULL result 2015-03-18 15:30:12 -04:00
Chris Rienzo ab3d967115 FS-7378 #resolve #comment play_and_detect_speech can now detect DTMF if you set the playback_terminators channel variable to any or specific DTMF. The result will be stored in speech_detect_result and in playback_terminator_used. Also added channel variable play_and_detect_speech_close_asr which will release the speech recognition port when the detection is completed. This will prevent speech licenses from being held the entire call. 2015-03-18 15:06:14 -04:00
Artur Zaprzała 8e72fafb2c FS-7307: When recording a call in native format, buffering does not work 2015-02-19 17:46:30 +01: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
Mike Jerris 5afdffb661 FS-7262: #resolve #comment fix regression in native recording using record thread from FS-7083 326289c 2015-02-11 10:59:04 -06:00
Anthony Minessale fc93895624 FS-7173 #comment please test 2015-01-23 17:03:30 -06:00
Anthony Minessale b74448462d FS-7173 #resolve #comment please verify fix in master 2015-01-20 19:55:50 -06:00
Anthony Minessale 403d32ce90 FS-7148 #resolve #comment declinatio mortuus obfirmo! 2015-01-12 23:20:39 -06:00
Anthony Minessale 326289caf9 FS-7083 #resolve #comment this should do it. The problem is linked to side-effects from the read thread being delayed by writing to the file handle. It was so much worse on mp3 because the shout encoder blocks while its churning the data and delays it more. This patch adds a dedicated thread for writing to the file and the channel_variable RECORD_USE_THREAD=false will disable it and sync may still be maintained at the cost of dropping more data from the audio signal. 2014-12-20 00:25:59 -06:00
Anthony Minessale 06c241a233 FS-6891 FS-7002 FS-7059 FS-7072 FS-7073 FS-7076 #close #comment All of these bugs are invalidated due to a botched revert -- commit 72c3df5ed3 was supposed to revert commit 1b612fecb6 but it only reverted part of it. commit 158c1f23da from the other day was erroneously created to work around the result of the botched revert so it is reverted. The result of this commit should be to bring it back to effectively properly revert 1b612fecb6 and now you can test and open new bugs if necessary. This includes the segfault in eavesdrop, and any media bug releated reports. Consider working together and only reporting one new bug if you still encounter any more problems and be sure to include details and make sure the jitter buffer is being used. 2014-12-11 20:57:55 -06:00
Anthony Minessale 158c1f23da FS-7002 #resolve #comment please verify 2014-12-05 19:18:28 -06:00
Chris Rienzo 35558993c9 FS-5816 #resolve #comment re-add completion cause to session record stop event 2014-12-02 15:00:54 -05:00
Brian West 2a7b022733 FS-6980 #resolve don't crash when using native recording on recordstop the redo 2014-12-02 10:51:48 -06:00
Anthony Minessale 72c3df5ed3 FS-6891 FS-6713 #comment revert 1b612fecb6 2014-12-02 16:46:08 -06:00
Brian West 34cf3b9069 FS-6980 #resolve don't crash when using native recording on recordstop 2014-11-11 07:45:50 -06:00
Chris Rienzo b25ae6ab6c FS-5816 #resolve #comment Record-Completion-Cause added to session recording RECORD_STOP event and record_completion_cause channel variable added. 2014-10-27 13:17:38 -04:00
Anthony Minessale 1b612fecb6 FS-6757 FS-6713 #comment please try latest master that has a new patch in it to address this issue 2014-09-02 23:56:46 +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 1960533260 FS-6713 #resolve 2014-08-04 23:50:31 +05:00
Brian West a79a9ea9ed FS-6373 2014-07-09 08:25:54 -05:00
Anthony Minessale 4ffbf23ffa stereo refactoring 2014-06-13 01:49:16 -04:00
Chris Rienzo bb6869b7ab FS-6535 --resolve mod_rayo: allow multiple grammars (including dtmf) when using unimrcp 2014-06-12 22:56:34 -04: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 804ef7709d change from sqlite hash to newly added one 2014-03-09 00:37:17 +05:00
Ken Rice 6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Anthony Minessale 0b1ac40a15 revert 2013-10-28 10:20:42 -05:00
Anthony Minessale 7d89ca45b6 clear before calling callback 2013-10-28 10:14:05 -05:00
Anthony Minessale 96b66ad015 FS-5840 --resolve 2013-10-05 18:07:10 -05:00
Anthony Minessale 60f5dec57e FS-5793 --resolve 2013-09-14 13:06:06 -05:00
Anthony Minessale ea0653689f FS-5791 --resolve 2013-09-14 10:07:25 -05:00
Anthony Minessale c811580626 doh 2013-09-06 05:55:50 +05:00
Anthony Minessale af85dcc5c0 FS-5757 2013-09-06 04:48:56 +05:00
Anthony Minessale 75bdc43d82 FS-5573 --resolve 2013-07-19 14:05:03 -05:00