14 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
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
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
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
49f9bd01bf fix some contention in rtmp 2013-11-17 06:51:33 +05:00
Nathan Neulinger
32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
Anthony Minessale
210acdd165 FS-4505 --resolve 2012-08-08 10:08:29 -05:00
Mathieu Rene
a5cd951c53 Update the outgoing channel handler so it passes the "var_event" event down towards rtmp_send_incoming_call since variables passed using originate are not yet in the session before the outgoing channel function returns. 2012-05-22 14:00:39 -04:00
Anthony Minessale
f1d5120f63 FS-3735 2011-12-07 11:27:58 -06:00
Anthony Minessale
4bb768311e flush buffer to avoid lag and enable plc 2011-06-21 11:43:37 -05:00
Jeff Lenk
f8cda53998 FS-3355 --resolve mod_rtmp for windows 2011-06-20 10:03:56 -05:00
Anthony Minessale
0933a34369 RTMP as easy as A.B.C. Avant-Garde Solutions Inc. -- Barracuda Networks Inc. -- ClueCon! http://www.cluecon.com 2011-06-13 12:52:16 -05:00