Commit Graph

29500 Commits

Author SHA1 Message Date
Paul Cuttler 86d849c54e FS-7924: [mod_rtmp] Modify initStream & createStream responses
Moved the response message mistakenly placed in the initStream
handler to the createStream handler
2015-10-07 14:50:27 +11:00
Paul Cuttler 53c37d2385 Making mod_rtmp compatible with Adobe Media Server
Adobe Media Server connects differently to mod_rtmp than the way
Flash player connects. The RTMP publish handler rtmp_i_publish
message needs to match the RTMP specification, and a new initStream
handler is required.

This patch modifies the rtmp_i_publish handler to send an onStatus
message to Adobe Media Server that includes an object with "level",
"code" and "description" fields.

The initStream message is sent by Adobe Media Server to notify Freeswitch
of the stream ID for the publish stream. This cannot clash with the play
stream ID so the initStream handler can simply increment the next_streamid
field. The initStream message is undocumented in the RTMP specification.

The transaction ID for onStatus messages has been modified to 0 instead
of 1 to match with the RTMP specification.

FS-7924 #resolve
2015-08-14 06:06:43 +10:00
Anthony Minessale 6813d6647b try with no threads in vp8 for a while %noWIR 2015-08-01 04:31:12 -05:00
Anthony Minessale 90b7ed72d7 fix regressions from last commit %noWIR 2015-08-01 01:37:25 -05:00
Anthony Minessale c4242dd9d8 conference optimizations %noWIR 2015-07-31 13:49:13 -05:00
Mike Jerris 2fa840483e Merge pull request #382 in FS/freeswitch from ~SSINYAGIN/freeswitch:bugfix/FS-7927-typo-in-variable-name-eavesdrop_annnounce_macro to master
* commit '0cf60f6c24de01685dd6d755d6b838aec2afa0c1':
  FS-7927 typo in variable name: eavesdrop_annnounce_macro
2015-07-31 11:18:44 -05:00
Stanislav Sinyagin 0cf60f6c24 FS-7927 typo in variable name: eavesdrop_annnounce_macro 2015-07-31 17:49:17 +02:00
Mike Jerris 59cf3a8134 Merge pull request #380 in FS/freeswitch from ~SSINYAGIN/freeswitch:bugfix/FS-7909-core-is-written-to-run-freeswitch to master
* commit 'cd68e0fe1b4ae347c6a9a4108c6690db82baee3c':
  FS-7909 working directory is now /var/log/freeswitch
2015-07-30 23:51:31 -05:00
Stanislav Sinyagin cd68e0fe1b FS-7909 working directory is now /var/log/freeswitch
This is where core is dumped by default
2015-07-31 02:13:55 +02:00
Anthony Minessale 852c0dcfae move scale_and_patch operation to session specific thread to speed up central mux thread 2015-07-30 18:49:30 -05:00
Mike Jerris e3a301f31c Merge pull request #373 in FS/freeswitch from ~CXREG/freeswitch-api-redirect:feature/api-redirect to master
* commit '9b3f8702717cfbe7e1ad72365acb124a86060fbf':
  FS-7922 Add uuid_redirect API command
2015-07-30 18:45:07 -05:00
Anthony Minessale c727b985eb FS-7908 FS-7092 refactor #comment test 2015-07-30 18:11:13 -05:00
Dave Olszewski 9b3f870271 FS-7922 Add uuid_redirect API command
This provides the equivalent functionality of the dptools "redirect"
application as an api command
2015-07-30 13:26:05 -07:00
Brian West ab7f83c654 FS-7769
fixed vmute on personal canvas
fixed changing layouts on personal canvas
2015-07-30 14:29:09 -05:00
Brian West 13b840e75c FS-7917 #resolve Fixed default config, original patch was correct but we really shouldn't be setting ext-*-ip settings for ipv6 profiles 2015-07-30 11:45:46 -05:00
Michael Jerris 351a8ca34c Revert "FS-7917 add check for ipv6 in sofia_glue_create_via"
This reverts commit 4c8bf297fb.

This behavior change was incorrect, sorry
2015-07-30 11:44:38 -04:00
Mike Jerris 59ddb36a48 Merge pull request #377 in FS/freeswitch from ~LAZEDO/freeswitch:bugfix/fs-7917 to master
* commit '4c8bf297fb9c78fc59dc607c5c4fb221a873f731':
  FS-7917 add check for ipv6 in sofia_glue_create_via
2015-07-30 10:38:17 -05:00
Mike Jerris b006d30eeb Merge pull request #378 in FS/freeswitch from ~LAZEDO/freeswitch:bugfix/fs-7918 to master
* commit '183b51dd5c95910d0fffe4d1d375710c965d72bc':
  FS-7918 small fixes in mod_kazoo
2015-07-30 10:36:04 -05:00
Mike Jerris 40f95f28d8 FS-7919: [mod_conference] fix rebuild dependency on header file 2015-07-30 10:32:18 -05:00
Luis Azedo 183b51dd5c FS-7918 small fixes in mod_kazoo 2015-07-30 16:17:09 +01:00
Luis Azedo 4c8bf297fb FS-7917 add check for ipv6 in sofia_glue_create_via 2015-07-30 16:09:56 +01:00
Mike Jerris 01672dc96b Merge pull request #369 in FS/freeswitch from ~MICHAELGG/freeswitch:minor_perf_tweaks to master
* commit 'c599f4f44701af865283f33eb0100d395fa77c7f':
  FS-7894: On Windows, use critical sections instead of mutexes. (Mutexes on Windows are cross-process, unlike lightweight Linux futexes.)
  FS-7894: Event header ARRAY:: data -- use strcmp to ensure data begins with ARRAY:: instead of substring search
2015-07-29 22:16:34 -05:00
Mike Jerris 3e0a0ba833 attempt to optimize patch function 2015-07-29 22:11:59 -05:00
Michael Jerris 6565473ba0 add dependency so that 'make -C libs/esl/perl perlmod-install' works right 2015-07-29 21:48:08 -05:00
Anthony Minessale 51b38145e4 FS-7760 add clear vs allclear to logo and banner api to clear variable too 2015-07-29 21:31:56 -05:00
Mike Jerris c6596b1bd0 attempt to optimize patch function 2015-07-29 21:03:02 -05:00
Anthony Minessale 06758f6f4f FS-7913 #resolve 2015-07-29 16:00:22 -05:00
Anthony Minessale 7644b6834f FS-7760 add some more params 2015-07-29 15:53:29 -05:00
Chris Rienzo 6a0bfbf61a FS-7912 add session UUID to embedded language (lua, javascript, etc) logs when session sanity check fails 2015-07-29 15:11:47 -04:00
Michael Jerris 543fab93dd FS-7906: [mod_av] correct crash from multithreaded opening or closing of multiple files at the same time 2015-07-29 14:09:51 -05:00
Mike Jerris 3d20f7eac1 Merge pull request #375 in FS/freeswitch from ~CRIENZO/freeswitch:fs-7912-add-session-uuid-to-lua-errors to master
* commit 'a0b53d06f5bbe0d6fa528dcc27778bc5ad098d35':
  FS-7912 add session UUID to lua error logs, if known.
2015-07-29 13:53:04 -05:00
Chris Rienzo a0b53d06f5 FS-7912 add session UUID to lua error logs, if known. 2015-07-29 14:43:34 -04:00
Anthony Minessale b60e92bc53 hack sync for now %noWIR 2015-07-28 21:42:08 -05:00
Anthony Minessale 43b7accfd9 don't reset logo on banner change 2015-07-28 20:18:24 -05:00
Anthony Minessale 4a59a61da6 revert 2015-07-28 19:50:09 -05:00
Anthony Minessale 34fd0e9ad8 FS-7769 More features
add var=val member lookup usable wherver member_id is valid in api commands
add bgimg to layouts with api command or config for global setting
fix bug with overlap layouts combined with odd sized layers
improve switch_img_fit to take a modifier for fit, streach or both at once
2015-07-28 19:43:04 -05:00
Brian West 37b6f48ae4 FS-7908 use rates for audio codecs only #resolve 2015-07-28 15:58:08 -05:00
Anthony Minessale d5a52273a9 FS-7519 FS-7677 fix h264 issue caused by 5e9a4992e6 2015-07-28 12:26:12 -05:00
Seven Du 7191e02f65 FS-7904 #resolve #fixed #comment fixed alpha image patching 2015-07-28 09:17:12 +08:00
Brian West 6c428c5afd FS-7648 more tweaks for testing configs 2015-07-27 09:33:22 -05:00
Brian West da5416bf77 FS-7900 #resolve 2015-07-27 09:29:34 -05:00
Michael Giagnocavo c599f4f447 FS-7894: On Windows, use critical sections instead of mutexes. (Mutexes on Windows are cross-process, unlike lightweight Linux futexes.) 2015-07-26 20:02:22 -06:00
Michael Giagnocavo 17241c8bcd FS-7894: Event header ARRAY:: data -- use strcmp to ensure data begins with ARRAY:: instead of substring search 2015-07-26 19:56:32 -06:00
Anthony Minessale 75e46cedb8 FS-7893 --resolve 2015-07-25 12:52:46 -05:00
Michael Jerris 8e1b2eab7b FS-7839: attempt to work with new EC dtls requirements for firefox >38 2015-07-24 15:22:21 -05:00
Anthony Minessale 9665956431 FS-7887 #resolve 2015-07-24 13:47:48 -05:00
Anthony Minessale bd31d60ee9 FS-7891 should be bytes not samples 2015-07-24 11:43:34 -05:00
Anthony Minessale 00f1682617 avoid queue swell on local_stream vid 2015-07-24 11:38:39 -05:00
Mike Jerris 55aefa31af Merge pull request #367 in FS/freeswitch from ~SEVEN/fs-7677:fs7677 to master
* commit 'f55ac43672d6cdaeb412b14964b7701b3d7de4b5':
  FS-7677 handle packet loss
  FS-7519 FS-7677 trying to add H263 support FS-7519 FS-7677 fix key frame parsing and add some debug logs be verbose about invalid dimensions cleanup and refactor encoder params
2015-07-24 10:51:05 -05:00
Mike Jerris 51185079c2 Merge pull request #365 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:FS-7882 to master
* commit '1d7a496889dcf1dbb4cb9bb40a3b4b449cdfd60a':
  Allow JSON API commands to send third arg for muting
2015-07-24 10:32:32 -05:00