Commit Graph

17824 Commits

Author SHA1 Message Date
William King d43808fd6a FS-7586 Silence the warning when the value is set to 1 in the configs 2015-06-05 22:28:59 -07:00
Anthony Minessale 31a7c446e6 FS-7479 fix regression 2015-06-05 23:46:56 -05:00
Brian 6bb8ee321a FS-7601 improve opus packet loss routines #resolve 2015-06-05 18:11:20 -05:00
Michael Jerris 90bae91af7 FS-7613: fix use after free error in switch_img_txt_handle_render 2015-06-05 17:57:06 -05:00
Ryan Lantzer 9a6344c30f Updated SKINNY on-hook action to hang up all calls on a device, except those in a short list of call states (or perform a blind transfer).
Added a hook after completing the hangup operation to start ringing if there is an inbound call active on the device.

Signed-off-by: Nathan Neulinger <nneul@neulinger.org>
2015-06-05 17:36:06 -05:00
Mike Jerris 40254d322e Merge pull request #245 in FS/freeswitch from ~SAFAROV/freeswitch-mod-radius-cdr_improvement:FS-7311 to master
* commit 'd5cc4a1d87cee1c56b54403affd23feb86cead80':
  FS-7311: Updating display name is disabled when caller_id equal "_undef_"
2015-06-05 14:18:37 -05:00
Sergey Safarov d5cc4a1d87 FS-7311: Updating display name is disabled when caller_id equal "_undef_" 2015-06-05 21:36:10 +03:00
Ítalo Rossi 6f057b795e Merge pull request #249 in FS/freeswitch from ~SAFAROV/freeswitch-mod-radius-cdr_improvement:origin/FS-7524 to master
* commit '7e1f8bc4c7795451ee6140f65588e590cc4af024':
  FS-7524: mod_callcenter - Fixing tiers, level and position should default to 1 instead of 0
2015-06-05 13:08:58 -05:00
Sergey Safarov 7e1f8bc4c7 FS-7524: mod_callcenter - Fixing tiers, level and position should default to 1 instead of 0 2015-06-05 19:35:04 +03:00
Michael Jerris e4fef7bdca FS-7610: fix gcc5 compilation issue 2015-06-05 11:41:16 -04:00
Anthony Minessale 8aea72c825 FS-7602 FS-7499 FS-7587 modify dtls init function placement 2015-06-04 20:37:15 -05:00
Brian 22335d212d FS-7601 allow setting the packet loss percentage on the encoder from the opus.conf.xml file 2015-06-04 15:57:33 -05:00
Anthony Minessale 28e0dcdc85 remove autocorrect thing from jb 2015-06-04 15:24:23 -05:00
Anthony Minessale 5c5b53a453 FS-7601 #resolve 2015-06-04 15:01:36 -05:00
Anthony Minessale 6209d91f9c FS-7479 #resolve 2015-06-04 13:16:02 -05:00
Seven Du 1f25952008 FS-7585 add bandwidth settings to flash video 2015-06-04 23:33:00 +08:00
Ken Rice f866313835 Merge pull request #271 in FS/freeswitch from ~SILIK0N/freeswitch:FS-7607 to master
* commit '02a0a2a06897cdd044ab254f8d7f3089af3df715':
  FS-7607 #resolve #comment Update URLs to reflect https protocol on freeswitch.org websites and update additional URLs to avoid 301 redirects.
2015-06-04 09:27:59 -05:00
Anthony Minessale 150ebff5d4 FS-7602 FS-7499 FS-7587 #comment another refactoring pass on candidate parsing and ipv4/6 parsing (part 2) 2015-06-03 16:04:51 -05:00
Anthony Minessale 6c135e15c1 FS-7602 FS-7499 FS-7587 #comment another refactoring pass on candidate parsing and ipv4/6 parsing 2015-06-03 15:54:21 -05:00
Anthony Minessale fc075a75e5 FS-7513 make sure user does not have auto avatar when not visible 2015-06-03 15:54:21 -05:00
Ken Rice 02a0a2a068 FS-7607 #resolve #comment Update URLs to reflect https protocol on freeswitch.org websites and update additional URLs to avoid 301 redirects. 2015-06-03 15:23:40 -05:00
Mike Jerris 0f6ec8e27c Merge pull request #149 in FS/freeswitch from ~TMPD/freeswitch-esl-104:master to master
* commit '72897018156e0eff4c61b567ef655a433f55b199':
  FS-7603: Implement failover for socket application
2015-06-03 15:21:39 -05:00
William King 581c104753 FS-7586 Change the default min-required-recording-participants option for mod_conference from 2 to 1. #NEEDSDOCS 2015-06-03 09:16:48 -07:00
Anthony Minessale c9065a85b6 FS-7602 add some of 3b2d00f3e6 from verto to sip and refactor some code to keep sip working like verto 2015-06-02 21:20:03 -05:00
Anthony Minessale 51c6a6f7b5 add a bit to 2db8f94ab6 2015-06-02 21:09:59 -05:00
Michael Jerris 49778c34e5 FS-7258, FS-7571: [mod_xml_cdr] properly encode xml cdr for post to web server 2015-06-02 18:54:15 -05:00
Ítalo Rossi 0c45bee409 Merge pull request #257 in FS/freeswitch from ~ITALOROSSI/freeswitch:bugfix/FS-7569-mod_callcenter_strategy to master
* commit '890991cd28bb2b2860c988476f8641d7b32f02c8':
  FS-7569 mod_callcenter - Tracking queue strategy changes to avoid stuck members
2015-06-02 17:48:46 -05:00
Ítalo Rossi e6bb3ed434 Merge pull request #246 in FS/freeswitch from ~ITALOROSSI/freeswitch:bugfix/FS-7464-callcenter-cannot-play-us-ring-tone_stream to master
* commit '1bc241922e3136dda8067723a4d4c9ebdd51f101':
  FS-7464 mod_callcenter moh-sound needs to be expanded when containing variables.
2015-06-02 17:33:29 -05:00
Ítalo Rossi 9cd8f19ead Merge pull request #237 in FS/freeswitch from ~VICTORTORRES/freeswitch-fs-7445:master to master
* commit '69d5333bfc18342e856cadccf668432948c45374':
  FS-7445 fixes cc_outbound_cid_name_prefix
2015-06-02 17:29:07 -05:00
Seven Du 22cb3f708f FS-7585 increasing AMF buffer for larger picture 2015-06-03 06:01:03 +08:00
ico 7289701815 FS-7603: Implement failover for socket application 2015-06-02 21:39:26 +03:00
Michael Jerris e21a423d9f FS-7436: [mod_opus] fix the plc counter to actually count 2015-06-02 13:23:43 -04:00
Mike Jerris 4aaaa485ce Merge pull request #264 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:mod_opus_fec_jb to master
* commit 'bd3589a2fbb56486f3c76548a4197716ebcce8c7':
  FS-7436: added FEC support for mod_opus
2015-06-02 12:01:10 -05:00
doancea bd3589a2fb FS-7436: added FEC support for mod_opus
You need an enabled jitter buffer for FEC to work.
If a packet is missing we look in the jitter buffer for the next one,
if the next packet is present we pass it to the decoder to extract
the FEC info from it. If there's no FEC inside the packet, the Opus decoder
will return PLC.
2015-06-02 18:36:36 +02:00
Mike Jerris 95c387315e Merge pull request #33 in FS/freeswitch from ~MOY/freeswitch:sip-watch-headers to master
* commit '3df55b9bb5325ed0f7273576264c5aa94a8a6810':
  Add sip_watched_headers variable to launch events when a SIP message contains a given SIP header
2015-06-02 11:19:05 -05:00
Chris Rienzo d04e1f03ff FS-7564 #resolve #comment [mod_rayo] Added new algorithms for offering calls to clients.
Two new params added to autoload_configs/rayo.conf.xml
     offer-algorithm
       all: offer to all clients (default and old behavior)
       first: offer to first client, fails over to next client in list
       random: offer to random client, fails over to next random client

     offer-timeout-ms
       0: disable
       > 0 and < 120000: time to wait for reply from offer.  On timeout, next client is offered call.
                         If no other clients available, call is rejected.  5000 is default.
2015-06-02 10:54:38 -04:00
Seven Du 6bfa299216 set affected_rows also for non-SELECT queries 2015-06-02 18:46:50 +08:00
Moises Silva 3df55b9bb5 Add sip_watched_headers variable to launch events when a SIP message contains a given SIP header
FS-6801 #resolve
2015-06-02 00:47:18 -04:00
doancea 8392366057 Fixed encoded_data_len for MODE 2400, it should be 6 bytes. Also replaced 2550 bps bitrate (obsoleted operation mode) by 2400 2015-06-02 01:44:15 +02:00
Mike Jerris 12504aa210 Merge pull request #99 in FS/freeswitch from ~BRIAN/freeswitch-brian:bugfix/FS-6961-mod_erlang_event-add-call-uuid-to to master
* commit '89f3f5e2986d24800e40064f9966675389f5f8a0':
  FS-6961: [mod_erlang_event]: Add call UUID to call_hangup message
2015-06-01 16:32:11 -05:00
Michael Jerris 651c312a75 FS-7499: fix build error on 32bit platforms 2015-06-01 15:28:33 -04:00
Mike Jerris 6323803353 Merge pull request #262 in FS/freeswitch from feature/FS-7587-add-ipv6-support-to-verto-websockets to master
* commit '3b2d00f3e65061393da10a4ba286ac72cdb3c16e':
  FS-7587 Add ipv6 support to Verto / Websockets
2015-06-01 14:19:40 -05:00
Mike Jerris a564f5c71e Merge pull request #248 in FS/freeswitch from ~ANDEE/freeswitch-nibble:master to master
* commit '8f343939dc7f63f6a1686941e7d34e1cbf27a1c3':
  Added new options to nibble bill for minimum charges and rounding #FS-7560
2015-06-01 14:13:09 -05:00
Luis Azedo e12608bd11 FS-7463 #resolve
allow intercept of replaced call-id when processing the replaces header by providing a a-leg parameter in replaces header.
without this change one leg calls could not be picked because there is no bridge_uuid
2015-06-01 20:11:40 +01:00
Mike Jerris 641fc1f18e Merge pull request #169 in FS/freeswitch from ~FRANCOIS/freeswitch-fs-7204:master to master
* commit '441dd9128862ce741a56a01acfa3e862949d1347':
  FS-7204, Allow to force a per-account send-message-query-on-register
2015-06-01 13:54:15 -05:00
Mike Jerris bbad395866 Merge pull request #174 in FS/freeswitch from ~FLAVIO/freeswitch:origin/bugfix/FS-7196 to master
* commit 'f135232ef5ab3f53f76cfa8ec2a1225f7700de90':
  FS-7196: add recording_follow_transfer support for semi attended transfers
2015-06-01 13:52:05 -05:00
Anthony Minessale 3b2d00f3e6 FS-7587 Add ipv6 support to Verto / Websockets 2015-06-01 13:39:47 -05:00
Andrew Cassidy 8f343939dc Added new options to nibble bill for minimum charges and rounding #FS-7560
These options are:

1) nibble_rounding: The number of decimal places to round the cost of the call to
2) nibble_minimum: The minimum charge to apply to a call

Rounding is applied before the minimum charging, and these steps only occur at call end to make sure they're accurate.

Checks for minimum_charge before call starts

"Billing done" flag to the data struct, and used that to exit early in the event processing during hangup has already occured.
2015-06-01 19:39:03 +01:00
Mike Jerris 89f838e020 Merge pull request #230 in FS/freeswitch from bugfix/FS-7405 to master
* commit 'a4ef9d6ba3d210cb0589342a0e059cf9bca98ae7':
  FS-7405: if all is required don't pass if total ne pass
2015-06-01 13:25:47 -05:00
Mike Jerris bd02432d03 Merge pull request #232 in FS/freeswitch from ~ITALOROSSI/freeswitch:bugfix/FS-7242-delayed-bye-after-REFER to master
* commit 'beeea0172411f6274effdac8b90f970fa317b159':
  FS-7242 Waiting for state CS_PARK when receiving REFER.
2015-06-01 13:10:43 -05:00
Mike Jerris 37d8ce6185 Merge pull request #239 in FS/freeswitch from ~MOY/freeswitch:park-before-media to master
* commit 'b4250c87a53310d934052ef2226b9a5983ff9e6f':
  Fix switch_ivr_parse_event() to not hangup a session when there is no media yet
2015-06-01 13:03:37 -05:00
William King 4a623c45b5 Merge pull request #231 in FS/freeswitch from ~SEKIL/freeswitch-7412:master to master
* commit 'f5e0a879b2c5e035075db2c9441a111020575dea':
  JIRA FS-7412. Added new LDAP schema (fsaccount.schema) with relevant attributes to match FS directory params and variables. Changed mod_xml_ldap code to reflect new schema. Updated xml_ldap.conf.xml as well to reflect mapping of new attributes.
2015-06-01 12:46:41 -05:00
Nathan Neulinger d7a1f3d424 FS-7593 --resolve add locking keyed on device name around any database updates adding/removing the device 2015-06-01 12:45:19 -05:00
doancea 8d98bc27ef FS-7462: fix FMTP in the INVITE - make it use values from opus.conf.xml 2015-06-01 12:45:19 -05:00
Anthony Minessale 3702ce5a8e squash 2015-06-01 12:45:19 -05:00
Anthony Minessale f82dd1e9ea FS-7513 add video-auto-floor-msec param to control how long a member must have the audio floor before also taking the video floor %NEEDS_DOC 2015-06-01 12:25:13 -05:00
Michael Jerris f792f9de9e FS-7570: fix status variable reference that is breaking compile w/ zrtp enabled 2015-06-01 12:25:13 -05:00
Artur Zaprzała 0c4f85111f FS-7337: Add support for Remote-Party-ID header in UPDATE request. 2015-06-01 12:25:13 -05:00
Brian 8131f210b3 FS-7579 --resolve 2015-06-01 09:16:25 -05:00
Seven Du 55a955787c disable debug log 2015-05-30 06:40:47 +08:00
Seven Du 5da76480ba detect more deep too see if we should offer video 2015-05-30 06:36:54 +08:00
Seven Du 8adca82644 FS-7585 detect packet loss where possible 2015-05-29 12:16:54 +08:00
Seven Du 721c9c9989 CID:1300973 fix copy & paste err 2015-05-29 12:14:06 +08:00
Seven Du 81ad7562a3 CID:1301050 fix possible NULL 2015-05-29 12:12:07 +08:00
Seven Du 55462887e8 CID:1301065 fix possible NULL 2015-05-29 12:11:01 +08:00
Seven Du 47f88e920d CID:1301106 fix logically dead code 2015-05-29 12:10:29 +08:00
Seven Du e46ae6c77d CID:1025061 add missing break 2015-05-29 12:09:27 +08:00
Seven Du 6c61fd195b CID:1301110 CID:1301110 logically dead code 2015-05-29 12:08:46 +08:00
Anthony Minessale 8e37e9b4d4 FS-7513 flush video on video mute/unmute 2015-05-28 21:05:56 -05:00
Seven Du 143c1eb504 FS-7519: CID:1294454 fix leak 2015-05-28 12:47:35 -05:00
Michael Jerris 4dfbbc6742 CID:1301145,1301144: Bit shift bounds checking 2015-05-28 12:47:35 -05:00
William King cdead84d3b CID 1216601 Fix a possible memory leak in mod_basic 2015-05-28 12:47:34 -05:00
Anthony Minessale 3e93e9f5b4 FS-7519 mod_av cleanup and refactor to work on higher resolution 2015-05-28 12:47:34 -05:00
Anthony Minessale 76fc6940df FS-7513 refactor 2015-05-28 12:47:34 -05:00
Anthony Minessale 2188358832 FS-7500 FS-7499 refactoring while battling chrome 2015-05-28 12:47:34 -05:00
Seven Du 0c819da6f5 FS-7585: add rtmp video support 2015-05-28 12:47:34 -05:00
Seven Du e187479784 FS-7585: spaces to tabs and clean up trilling spaces 2015-05-28 12:47:34 -05:00
William King 2eda7eb3c3 FS-7519: reverting part of f85a86e64d3ebcd34d63bc6239694e5a524760a1 2015-05-28 12:47:34 -05:00
William King 7b1bc2e604 FS-7519: fix build issue with clang-3.5 2015-05-28 12:47:34 -05:00
Anthony Minessale dc2e98e536 FS-7500: start media thread one answer/pre_answer 2015-05-28 12:47:34 -05:00
Anthony Minessale d8242cbf42 FS-7519: fix typo 2015-05-28 12:47:34 -05:00
Anthony Minessale 40484fce58 FS-7499 FS-7500 mods for interop against latest chrome builds 2015-05-28 12:47:34 -05:00
Anthony Minessale abd6943cf5 FS-7500 just send refresh and not full reset on uuid_video_refresh 2015-05-28 12:47:33 -05:00
Anthony Minessale 817d98e7b6 FS-7513 mods to bandwidth sizing and remove flush calls 2015-05-28 12:47:33 -05:00
Anthony Minessale 700a18ae6b FS-7519: auto set some values on avformat recording 2015-05-28 12:47:33 -05:00
Anthony Minessale e8fed1a47f FS-7519: merge mod_avcodec and mod_avformat into mod_av 2015-05-28 12:47:33 -05:00
Michael Jerris fe50da3d8c FS-7507: fix expansion of dirs compiled into freeswitch 2015-05-28 12:47:33 -05:00
Seven Du 2ac8f888f7 FS-7519: refactor and the av code should work now use it as default, bandwidth might be not accurate need furthur tweak 2015-05-28 12:47:33 -05:00
Anthony Minessale 70ec967ec9 FS-7513 FS-7499 mod auto-bitrate code 2015-05-28 12:47:33 -05:00
Anthony Minessale 588d5c63cb FS-7500: [rtp] up debug to higher level 2015-05-28 12:47:33 -05:00
Anthony Minessale 09ede13fc4 FS-7500 add switch_img_letterbox and use it for the mirror input function 2015-05-28 12:47:33 -05:00
Mike Jerris 387b405ccd FS-7500: fix include paths for libvpx 2015-05-28 12:47:32 -05:00
Seven Du 79741a307d FS-7519: add fs_avc_find_startcode 2015-05-28 12:47:32 -05:00
Anthony Minessale 3e1b5cf355 FS-7519: fix build 2015-05-28 12:47:32 -05:00
Anthony Minessale 2af024dc08 FS-7519: [mod_avformat] change logger, mod_avcodec: change logger and copy data to/from frames to avoid overwriting and also send intra requests still but do not wait for one to init the codec 2015-05-28 12:47:32 -05:00
Michael Jerris b827542c8d FS-7500: fix vpx include paths 2015-05-28 12:47:32 -05:00
Anthony Minessale a8c1341f42 FS-7499 add tmmbr negotiation to sdp 2015-05-28 12:47:32 -05:00
Seven Du 8e1dc361e0 FS-7550 quick and dirty tweak for overlay, maybe need furthur tweaks but this should work with most transparent pngs 2015-05-28 12:47:32 -05:00
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 e8f2366bdf FS-7513 drop bw if there are frequent dropouts 2015-05-28 12:47:32 -05:00
Anthony Minessale 495619f248 FS-7513 improve auto bandwidth feature and add other performance improvemnts related to dropping video when its not visible 2015-05-28 12:47:32 -05:00
Anthony Minessale 6be0e0809d FS-7501 add vbsize to mod video buffer size 2015-05-28 12:47:32 -05:00
Anthony Minessale b95390cba4 FS-7513 add manage-inbound-video-bitrate conference flag 2015-05-28 12:47:31 -05:00
Anthony Minessale 4e141d0e51 FS-7513 favor moderators for selection of open layers in the canvas 2015-05-28 12:47:31 -05:00
Anthony Minessale 9e07bfb23d FS-7499 some mods to relad/recover in rtp. Killing dtls here might be unsafe and isn't necessary anyway 2015-05-28 12:47:31 -05:00
Anthony Minessale 81094b3a0c FS-7499 adding some more refactoring towards better rtcp 2015-05-28 12:47:31 -05:00
Seven Du 930d8aea39 FS-7550 starting to and libgd to core video 2015-05-28 12:47:31 -05:00
Anthony Minessale 4a76c0f8c6 FS-7499 second pass at adding TMMBR (WIP) 2015-05-28 12:47:31 -05:00
Anthony Minessale 0fd7824a12 FS-7500: send a few intra requests in decode_video 2015-05-28 12:47:31 -05:00
Anthony Minessale bc152ed9d8 FS-7500: set 500ms min on retransmit of outdated xml based intraframe request that EVERYTHING still seems to use 2015-05-28 12:47:31 -05:00
Anthony Minessale 22ade18600 FS-7519: add abndwidth params and fix issue on reset of mov_avcodec 2015-05-28 12:47:31 -05:00
Anthony Minessale 593bd56bc6 FS-7499 revert 8a3b020be2d811e0b15008460f00cc32adcf9d51 2015-05-28 12:47:31 -05:00
Anthony Minessale ea16f82d20 FS-7500: move img test down into read function 2015-05-28 12:47:31 -05:00
Anthony Minessale ff8bf014cf FS-7500: change variable names to reflect audio vs video %NEEDS_DOC
remote_media_ip_reported => remote_audio_ip_reported and remote_video_ip_reported
new vars remote_audio_ip and remote_video_ip like remote_media_ip but specific to audio and video
remote_media_port_reported => remote_audio_port_reported and remote_audio_port_reported
remote_media_port => remote_audio_port and remote_video_port
rtp_auto_adjust => rtp_auto_adjust_audio and rtp_auto_adjust_video
2015-05-28 12:47:30 -05:00
Anthony Minessale d253f74e48 FS-7501: flush video on jb activate/reset 2015-05-28 12:47:30 -05:00
Anthony Minessale a08a89af3d FS-7500: re-enable sip info video refresh 2015-05-28 12:47:30 -05:00
Anthony Minessale 4287aeee76 FS-7499 fix some refactor-related regressions in rtcp 2015-05-28 12:47:30 -05:00
Anthony Minessale d6cdacc063 FS-7499 fix regression from a00be7c3435baac3454378044b3f76b4ce164935 2015-05-28 12:47:30 -05:00
Seven Du 4b8f40d28e FS-7506 add alpha channel to switch_rgb_color_t so it is possible to make transparent text img 2015-05-28 12:47:30 -05:00
Seven Du 8787ccd5a5 FS-7506 refactor to use rgb color for pixel 2015-05-28 12:47:30 -05:00
Seven Du f0b42410a3 FS-7506 improve anti-aliasing when use a NULL bgcolor for transparent text 2015-05-28 12:47:30 -05:00
Anthony Minessale 7077d9b148 FS-7513 move some locking around 2015-05-28 12:47:30 -05:00
Anthony Minessale 3b7d07d0a1 FS-7513: don't patch image on mute 2015-05-28 12:47:30 -05:00
Anthony Minessale 6388926291 FS-7499: start of tmmbr/n 2015-05-28 12:47:30 -05:00
Anthony Minessale 3e33920657 FS-7513 fix all video mute related issues 2015-05-28 12:47:30 -05:00
Anthony Minessale 22ec9c378e FS-7499 FS-7513 video mute the old way seems to break chrome when resuming, add some improvements to mitigate 2015-05-28 12:47:30 -05:00
Anthony Minessale 772665e0fa FS-7499 FS-7500 FS-7508 FS-7513 trying to improve the video signal decoding under stress and get vpx to latch on to a signale sooner 2015-05-28 12:47:29 -05:00
Anthony Minessale 02cac73d37 FS-7499 FS-7513 try to avoid storm of refreshes in heavy usage 2015-05-28 12:47:29 -05:00
Anthony Minessale dc4c38dab5 FS-7499 FS-7508 FS-7501 some more general improvements for initial call setup 2015-05-28 12:47:29 -05:00
Anthony Minessale 272108f0b3 FS-7499 fix ssrc and rtcp negotiation and parsing irregularities caused by ice/rtcp mux 2015-05-28 12:47:29 -05:00
Anthony Minessale e7fa32a781 FS-7499 prefer FIR over PLI when both are present 2015-05-28 12:47:29 -05:00
Anthony Minessale e1ebd3b62b FS-7432 #resolve 2015-05-28 12:47:29 -05:00
Seven Du bfecc842df FS-7500: switch_img_overlay now support ARGB and negtive position, also change alpha value to match doc description 2015-05-28 12:47:29 -05:00
Seven Du 72db8c58d1 FS-7519: av play support block and no block mode, support audio only mode 2015-05-28 12:47:29 -05:00
Michael Jerris 49f42542c6 FS-7519: [mod_avformat] fix ffmpeg symbol collision 2015-05-28 12:47:29 -05:00
Michael Jerris d2d00056e8 FS-7519: [mod_avcodec] add x264 to linker 2015-05-28 12:47:29 -05:00
Michael Jerris 5220c91395 FS-7519: [mod_avcodec] add libavutil to linker 2015-05-28 12:47:29 -05:00
Seven Du 319f09c98b FS-7519: this works on both Mac and debian 2015-05-28 12:47:28 -05:00
Seven Du 321dddc478 FS-7519: [mod_avformat] fix debian build 2015-05-28 12:47:28 -05:00
Michael Jerris a6c1a40b2a FS-7519: [mod_avformat] add libavutil and libavresample to linking deps 2015-05-28 12:47:28 -05:00
Michael Jerris f87f725e43 FS-7519: [mod_avformat] add libswscale and libavcodec to linking deps 2015-05-28 12:47:28 -05:00
Seven Du b29174e822 FS-7503 FS-7519: refactor to support video playback using libavformat
need -lswscale to converto from non-I420 fmt to I420
2015-05-28 12:47:28 -05:00
Anthony Minessale a8a2c32ac3 FS-7499 FS-7500: combat black screen disease 2015-05-28 12:47:28 -05:00
Brian West 23e0062bc7 FS-7500: increase buffer size 2015-05-28 12:47:28 -05:00
Brian West cbce680f1c FS-7513: fix seg 2015-05-28 12:47:28 -05:00
Anthony Minessale 5e7a8ea76d FS-7515: txt len 2015-05-28 12:47:28 -05:00
Anthony Minessale 669d971010 FS-7513: final touches 2015-05-28 12:47:28 -05:00
Anthony Minessale 0ca23ab617 FS-7513: prefer avatar img over mute and reset layer bg on patch of blanked mode 2015-05-28 12:47:28 -05:00
Anthony Minessale ed866593a7 FS-7513: blank to mute img on 2 sec with no video 2015-05-28 12:47:27 -05:00
Anthony Minessale b5b3e58026 FS-7513: refactor main thread a little 2015-05-28 12:47:27 -05:00
Anthony Minessale d1e466e76d FS-7500: clock in 15fps for now 2015-05-28 12:47:27 -05:00
Anthony Minessale 62f3feca98 FS-7513: set video pause resume when video is paused in conference 2015-05-28 12:47:27 -05:00
Anthony Minessale 33d9b8066b FS-7500: return cng frames when waiting for a key 2015-05-28 12:47:27 -05:00
Anthony Minessale 01a5756701 FS-7508: revert 2015-05-28 12:47:27 -05:00
Michael Jerris 58d02f98a6 quiet down some verbose debug logging 2015-05-28 12:47:27 -05:00
Anthony Minessale 38a7006f0e FS-7508: sync vpx on start packet 2015-05-28 12:47:26 -05:00
Anthony Minessale 59bcb42092 FS-7513: show logo img when video muted 2015-05-28 12:47:26 -05:00
Anthony Minessale 86a1ef3d27 FS-7513: exit if layer->cur_img not secured 2015-05-28 12:47:26 -05:00
Anthony Minessale 66f9f985a8 FS-7500: fix stat checking logic on video packets 2015-05-28 12:47:26 -05:00
Michael Jerris d376150e0e FS-7488: [mod_managed] fix build error and enable on debina packages 2015-05-28 12:47:26 -05:00
Brian West 3b00832e50 FS-7482 --resolve 2015-05-28 12:47:26 -05:00
Anthony Minessale 2cb00153e2 FS-7513: add fps returned when one is not specified and add 20fps setting 2015-05-28 12:47:26 -05:00
Anthony Minessale 5ab557fd51 FS-7509: add userVariables parser to initial connection all variables set in this obj will be set on every inbound call 2015-05-28 12:47:25 -05:00
Anthony Minessale 22a4a4dd7e FS-7500: set default bandwidth to 1mb 2015-05-28 12:47:25 -05:00
Michael Jerris 8d30c18c5a fix clang build 2015-05-28 12:47:25 -05:00
Anthony Minessale c517be4330 FS-7513: fix placement of overlay banner on letterbox callers change config option video-layout-bgcolor to video-letterbox-bgcolor 2015-05-28 12:47:25 -05:00
Michael Jerris e2236ad559 FS-7508: remove mod_vp8 which has been replaced by mod_vpx 2015-05-28 12:47:25 -05:00
Michael Jerris 6c45fb9eec fix error building with newer compilers 2015-05-28 12:47:25 -05:00
Michael Jerris b7e811a628 CID:1271537: error check for malformed json better 2015-05-28 12:47:25 -05:00
Michael Jerris ead0e2ebd1 CID:1222597: silence incorrect coverity warning about out of bounds read 2015-05-28 12:47:25 -05:00
Michael Jerris c61be91316 CID:1294463,1294540: clean up duplicate error checking code 2015-05-28 12:47:25 -05:00
Michael Jerris c7709a191b CID-1294436: handle null file paths to switch_is_file_path correctly 2015-05-28 12:47:25 -05:00
Michael Jerris 91a6fc82c0 FS-7338: remove libsndfile from tree, use system lib instead
FS-7338: remove libsilk from tree, use system lib instead
FS-7338: change to always use system liblua
FS-7338: remove libbroadvoice from tree, use system lib instead
FS-7338: remove libilbc from tree, use system lib instead
FS-7338: remove libs using system libs from bootstrap
FS-7338: remove libg722_1 from tree, use system lib instead
FS-7338: remove mod_celt, it has be superseded by mod_opus
FS-7338: remove libcodec2 from tree, use system lib instead
FS-7338: remove libopus from tree, use system lib instead
FS-7338: remove libsoundtouch build from tree, use system lib instead
FS-7338: remove flite build from tree, use system lib instead
FS-7338: remove openldap build from tree, use system lib instead
FS-7338: remove libmongoc build from tree, use system lib instead
FS-7338: remove mod_mongo deps that are no longer actually required
FS-7338: remove some dup demo modules and don't include demo code in packages
2015-05-28 12:47:24 -05:00
Brian a4f656f414 FS-7297 Not sure anyone tested this 2015-05-28 12:47:24 -05:00
William King 5a94bfefd3 Build fix: updated to better support new video changes 2015-05-28 12:47:24 -05:00
Anthony Minessale 7eebd8e7e8 FS-7513: turn avatar on and off if video is added mid call 2015-05-28 12:47:24 -05:00
Anthony Minessale 7d5b0acc90 FS-7502: add patch level for media bugs to call them as needed 2015-05-28 12:47:24 -05:00
Anthony Minessale 8234dadcaf FS-7513: skip patching logo when video muted 2015-05-28 12:47:24 -05:00
Michael Jerris 3205546bcb CID:1210582: remove logically dead code 2015-05-28 12:47:24 -05:00
Michael Jerris 1550d548db CID:1024555: remove logically dead code 2015-05-28 12:47:24 -05:00
Michael Jerris 6ddf5a1bdf CID:1294501: possible null deref 2015-05-28 12:47:24 -05:00
Michael Jerris d44ea400d5 CID:1294424: remove redundant unused code 2015-05-28 12:47:24 -05:00
Michael Jerris f2f03cffc3 CID:1024564: remove unnecessary check 2015-05-28 12:47:24 -05:00
Michael Jerris 4662118ca8 CID:1294504: make sure to check for NULL frame 2015-05-28 12:47:24 -05:00
Michael Jerris 6dcff0a79a CID:1294431: make sure not to check uninitialized value 2015-05-28 12:47:24 -05:00
Michael Jerris 35be8a16e9 CID:1024241: clean up null checking on var that can never be null anyways 2015-05-28 12:47:23 -05:00
Michael Jerris 200199e05f CID:1023990: remove unused code 2015-05-28 12:47:23 -05:00
Seven Du 57016a7926 FS-7500: refactor and implemnt patch_rect
fix stride side when patching strided img
implement switch_img_patch_rect to patch partial of an img to a bigger IMG
refactor switch_img_copy_rect to support ARGB
2015-05-28 12:47:23 -05:00
Anthony Minessale 80694ad547 FS-7519: avformat tweaks for broadcast 2015-05-28 12:47:23 -05:00
Anthony Minessale 4b9b004403 FS-7513: add text to video logo in mod_conference 2015-05-28 12:47:23 -05:00
Michael Jerris b78aac6196 FS-7456: also more complete fix for FS-7440, handle sdp with m lines in any order 2015-05-28 12:47:23 -05:00
Seven Du 47f25e9d43 FS-7508: log vpx version 2015-05-28 12:47:23 -05:00
Anthony Minessale 9fdb6cd5ba FS-7519: support vb for video bitrate 2015-05-28 12:47:23 -05:00
Anthony Minessale 2a36066ea0 FS-7500: make 15fps the min detected speed 2015-05-28 12:47:23 -05:00
Anthony Minessale ad20119652 FS-7503: add vb param for vid bitrate 2015-05-28 12:47:23 -05:00
Anthony Minessale 4a7418dca5 FS-7508: this setting no longer needs to be mult by 4 in recent vpx 2015-05-28 12:47:23 -05:00
Anthony Minessale 2c9121cd85 FS-7503: increase max 2015-05-28 12:47:23 -05:00
Anthony Minessale fa4be8326d FS-7515: use negative x and y for ticker to avoid extra duplication 2015-05-28 12:47:23 -05:00
Anthony Minessale e5dae7e602 FS-7513: prevent null layer img 2015-05-28 12:47:23 -05:00
Anthony Minessale 70198e0d28 FS-7500: use abs value to compute width for img starting in negative space 2015-05-28 12:47:22 -05:00
Seven Du 6afe079946 FS-7500: allow patch to negative x,y 2015-05-28 12:47:22 -05:00
Anthony Minessale d697acb281 tabify
fix emacs tabs mode
2015-05-28 12:47:22 -05:00
Anthony Minessale 48c21b6998 FS-7515: prevent unload when in use 2015-05-28 12:47:22 -05:00
Anthony Minessale d51d4e3c8d FS-7515: reset img on reset 2015-05-28 12:47:22 -05:00
Michael Jerris 34b3804413 FS-7506: make core specify default font instead of each place we use it 2015-05-28 12:47:22 -05:00
Anthony Minessale 810a5d5831 FS-7515: add more cv features 2015-05-28 12:47:22 -05:00
Seven Du 7447977674 FS-7515: some fixes
fix seg when passing NULL to strstr
use zstr to detect empty str
fix compiler warning about || and &&
2015-05-28 12:47:22 -05:00
Anthony Minessale 779c042ed2 FS-7515: tweak 2015-05-28 12:47:22 -05:00
Anthony Minessale 93c841d9e8 FS-7515: add more features to mod_cv 2015-05-28 12:47:22 -05:00
Michael Jerris 40d0e1fdd7 FS-7440: handle m=video lines before m=audio 2015-05-28 12:47:22 -05:00
William King caee0a3119 CID: 1294434 fixing a sizeof statement that was working for so long because on 64bit boxes the pointer size would be 64bits and the uint8_t was expecting at least 32 2015-05-28 12:47:21 -05:00
William King 4f468b14e9 CID: 1294483 no need to check if an unsigned variable is less than 0 2015-05-28 12:47:21 -05:00
William King f09dad317f CID: 1294489 missing break statement which would cause recvonly sdp to be treated as sendrecv 2015-05-28 12:47:21 -05:00
William King acec23d8c8 CID: 1294518 remove chance for divide by 0 2015-05-28 12:47:21 -05:00
William King b39c3058ee CID: 1294524 variables not used in the function 2015-05-28 12:47:21 -05:00
William King 5e35f27cb1 CID: 1294548 adding a check for the return value 2015-05-28 12:47:21 -05:00
William King 99f61f7ab8 CID: 1294549 comparison vs assignment 2015-05-28 12:47:21 -05:00
Michael Jerris 857a61318e FS-7507: Add global vars fonts_dir, images_dir, data_dir, localstate_dir
change configure detection to do FHS layout if you specify a prefix, unless --disable-fhs is passed to configure
moved includes to be under /usr/include/freeswitch dir in fhs layout
install font files into fonts_dir
2015-05-28 12:47:21 -05:00
Anthony Minessale d0bd11f7bc FS-7515: refactor 2015-05-28 12:47:21 -05:00
Seven Du 06acde23a1 FS-7517: fix openh264 packet loss logic and tweak some logs 2015-05-28 12:47:21 -05:00
Seven Du 30463bfc1e FS-7513: break is safer than continue
when the encoder returns 0, it means no more data will come and we should not try again
2015-05-28 12:47:21 -05:00
Anthony Minessale f6886b05d1 FS-7515: overlay refactor add zidx and abs position 2015-05-28 12:47:21 -05:00
Anthony Minessale d8e5334a05 FS-7513: add some mutexes on video_read_callback code 2015-05-28 12:47:21 -05:00
Anthony Minessale 1fb0dcd61d FS-7513: unlock vs lock 2015-05-28 12:47:20 -05:00
Anthony Minessale dd3d6cbe76 FS-7519: increase default video buffer to 2mb in avformat and add vbuf file param to change it per file using a number of bytes with k or m modifier for kilobytes and megabytes 2015-05-28 12:47:20 -05:00
Anthony Minessale cbe4f10ba3 FS-7515: expand on overlays 2015-05-28 12:47:20 -05:00
Seven Du 046798a057 FS-7513: don't write 0 data, openh264 might return 0 2015-05-28 12:47:20 -05:00
Anthony Minessale 7d60e6e868 FS-7513: missing some logic for those with video to take layers from those with avatars 2015-05-28 12:47:20 -05:00
Anthony Minessale c312b50da7 FS-7515: update cv to use new alpha supported switch_image_t 2015-05-28 12:47:20 -05:00
Seven Du cc27c51eb7 FS-7517: trival treak openh264 logs 2015-05-28 12:47:20 -05:00
Anthony Minessale c6bd6aea4e FS-7499: juggle log lines 2015-05-28 12:47:20 -05:00
Seven Du 0ddfea1d1b FS-7500: refactor to support Alpha channel on core image, only ARGB & I420 are supported 2015-05-28 12:47:20 -05:00
Brian West 8f361ab00b Clang-3.5 warnings fixed 2015-05-28 12:47:20 -05:00
Anthony Minessale eb86d65cde FS-7515: add missing parse code 2015-05-28 12:47:19 -05:00
Anthony Minessale e20ddd3818 FS-7515: debounce 2015-05-28 12:47:19 -05:00
Anthony Minessale 8fddf6b99d FS-7513: protect layout hash 2015-05-28 12:47:19 -05:00
Anthony Minessale 9cf804d4d0 FS-7515: add opaque container for png to pass around and save width and height 2015-05-28 12:47:19 -05:00
Seven Du ecab16ed88 FS-7516: add mod_imagick
use the magick-core API
We have pdfs and gifs
auto play gif and png
yeah, you can play video files with imgk

video only
requires ffmpeg binary
need autoplay=(1000/FPS)
2015-05-28 12:47:18 -05:00
Anthony Minessale f364a4190b FS-7509: don't need this change revert it 2015-05-28 12:47:18 -05:00
Anthony Minessale 3e24ac5e6b FS-7501: add auto sync of jb and fps detection 2015-05-28 12:47:18 -05:00
Anthony Minessale c8a189a433 FS-7499: demote log line 2015-05-28 12:47:18 -05:00
Anthony Minessale fc0bf67219 move nested condition parsing to only happen if main condition was satisfied may alter behaviour see docs and FS-4935 2015-05-28 12:47:18 -05:00
Anthony Minessale d10ea7f943 FS-7513: favor callers with video to take spaces in the layouts over callers with avatars 2015-05-28 12:47:18 -05:00
Anthony Minessale 5d9e4752a5 FS-7513: add auto-3d-position attr to <layout> and the auto as a valid value in existingaudio-position in <image> to auto-arrage the 3d openal positioning to either set it for the whole layout or an individual image 2015-05-28 12:47:17 -05:00
Anthony Minessale 42e7b81b1e FS-7500 FS-7508: move debug logging to DEBUG1 2015-05-28 12:47:17 -05:00
Anthony Minessale 6901329760 FS-7500: drop flags on recover 2015-05-28 12:47:17 -05:00
Anthony Minessale 01c0a1d44d FS-7500: don't send blank vid on sleep unless there is nothing else going on 2015-05-28 12:47:17 -05:00
Anthony Minessale 6522dbdffb FS-7500: wait for video ready on answer 2015-05-28 12:47:17 -05:00
Anthony Minessale d293e9bd1b FS-7500: check for uninit srtp 2015-05-28 12:47:17 -05:00
Anthony Minessale 62c3ddfab3 FS-7500: fix sleep sending blank img too fast 2015-05-28 12:47:17 -05:00