119 Commits

Author SHA1 Message Date
Seven Du
3d90d752fc FS-8406 #resolve #comment improvement to drop video packets on slow rtmp link 2016-03-18 09:05:45 +08:00
Stanislav Sinyagin
de06bf086b FS-8427 Incompatible type for %ld in prinrtf 2015-11-09 21:54:00 +00:00
William King
ab0f1423fb Merge pull request #545 in FS/freeswitch from ~PAULCUTTLER/freeswitch:feature/FS-7924-making-mod_rtmp-compatible-with-adobe to master
* commit '86d849c54e26951e313d1dcb4b220055f79aacc0':
  FS-7924: [mod_rtmp] Modify initStream & createStream responses
  Making mod_rtmp compatible with Adobe Media Server
2015-10-14 09:43:33 -05:00
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
Anthony Minessale
f8b19b7485 FS-8190 #resolve [When using nixevent, freeswitch stops sending us certain custom event that were NOT part of the nixevent command] 2015-09-21 18:00:32 -05:00
Mike Jerris
46c0d05216 FS-7966: fix more msvc 2015 build warnings. 2015-09-02 13:07:17 -04:00
Mike Jerris
5c59a0159d FS-7966: fix more msvc 2015 warnings. 2015-08-31 17:08:52 -04:00
Mike Jerris
2e3e09cb38 FS-7966: fix more msvc 2015 build warnings. 2015-08-31 13:26:36 -04:00
Michael Jerris
164c6111a1 FS-7966: remove some older versions of msvc build system as these will no longer work soon, please use 2015 instead 2015-08-31 10:19:10 -05:00
Mike Jerris
04f30edc6a FS-7966: multiple fixes for msvc 2015 build, fix openssl linking 2015-08-27 16:22:40 -06:00
Michael Jerris
451b6e393d FS-8047: [build] fix build errors in mod_rtmp, mod_oreka, and mod_sangoma_codec due to using __FUNCTION__ on newer compilers 2015-08-26 09:28:54 -04:00
Michael Giagnocavo
5e456fe9a6 FS-7966. First pass at moving to Visual Studio 2015.
The new C compiler breaks a lot of things. snprintf and timespec now exist, and redefining causes an error.
Many more things are warnings, so warnings-as-errors will fail - remove it from some projects for now.
V8: don't pass VS version to build batch file.
mod_sofia: Config has too-long if/elseif chain. Break this up to avoid "parser stack overflow; program too complex".
Add mod_conference.h to project and dir to includes.
2015-08-21 18:28:32 -04: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
Vladimir
240bf74d3a FS-7728: fix windows build issues 2015-08-04 23:29:01 -05:00
Seven Du
3cec36f168 FS-7585 fix copyright copy and paste error 2015-07-07 08:12:18 +08:00
Michael Giagnocavo
f116387443 FS-7644. Change 2013.vcxproj references to 2013 2015-06-18 04:17:53 -06:00
Jeff Lenk
345e50d25a FS-7644 2015-06-11 15:29:28 -05:00
Michael Jerris
2cc0348422 FS-7635: remove msvc 2005 2008 and 2010 non working build systems. There are now multiple more recent (3 different ones) and some free versions of the compiler that can be used. 2015-06-10 16:33:14 -04:00
Seven Du
1f25952008 FS-7585 add bandwidth settings to flash video 2015-06-04 23:33:00 +08:00
Seven Du
22cb3f708f FS-7585 increasing AMF buffer for larger picture 2015-06-03 06:01:03 +08: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
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
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
0dc48df426 cannot send call state about state destroy, this is an internal state and the session is already destoyed. Bug from original implementation 2015-02-09 22:34:04 -06:00
Seven Du
d199060249 FS-7036 #resolve #comment fixed in master
originate takes care of new thread on outgoging calls, extra thread_launch causes race
2015-01-09 08:01:19 +08:00
Travis Cross
acb439ca03 Avoid leaking memory while iterating hash tables
`switch_core_hash_first` allocates an iterator on each call that is
never freed except when the hash table is empty.

By using `switch_core_hash_first_iter` we allocate only one iterator,
and that iterator is freed after the last item is processed.
2014-08-30 03:49:51 +00:00
Moises Silva
d6574e8c0f dos2unix a bunch of files
For some reason these files would get marked as modified
just after a fresh clone on Linux
2014-07-22 15:04:28 -04:00
Anthony Minessale
7151d6acea FS-6402 part 2 2014-04-02 03:21:37 +05:00
Anthony Minessale
5c0cff70b3 FS-6402 --resolve 2014-04-02 01:20:19 +05:00
Michael Jerris
8ed1d4f1ea FS-6293: fix mod_rtmp srcdir build 2014-03-17 08:46:38 -04:00
Anthony Minessale
804ef7709d change from sqlite hash to newly added one 2014-03-09 00:37:17 +05:00
Michael Jerris
bcd9f49fbe move applications to use automake 2014-03-07 18:36:12 -05:00
Seven Du
e88ad70563 FS-6235 try this patch, this will send you a DOWN state at last 2014-02-22 09:44:19 +08:00
Peter Olsson
93696934b2 Silence more compiler warnings 2014-01-23 12:25:15 +01:00
Peter Olsson
5a820fdc78 Disabled some compiler warnings on Windows build (for Visual Studio 2012), also disabled code analysis one some projects. This should make the Windows build more clean in the future. 2014-01-22 22:47:11 +01:00
Anthony Minessale
49f9bd01bf fix some contention in rtmp 2013-11-17 06:51:33 +05:00
Anthony Minessale
4a172402d2 some refactoring and plumbing for 1.4 2013-10-16 02:24:32 +05:00
Anthony Minessale
2b5e18af41 revert 2013-09-06 00:50:17 +05:00
Anthony Minessale
471772489a revert 2013-09-06 00:48:18 +05:00
Anthony Minessale
e195b8512d revert f24d1cde3db80df630bee348adb06f4f7051fd8a 2013-09-06 00:32:03 +05:00
Anthony Minessale
7d6d688e53 FS-5731 --resolve 2013-08-26 20:25:14 +05:00