12 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
Seven Du
47f88e920d CID:1301106 fix logically dead code 2015-05-29 12:10:29 +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
7d6d688e53 FS-5731 --resolve 2013-08-26 20:25:14 +05:00
Nathan Neulinger
32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
William King
6f89e2537e Moving all rtmp specific logging to use the rtmp uuid rather than the session uuid. 2013-04-23 17:52:32 -07:00
Anthony Minessale
8bb55ed4bf abstract out originate_signal_bond to a function to avoid confustion and regressions 2012-05-29 13:10:15 -05:00
Ken Rice
c5554eb939 Copyright date update. 2012-04-18 11:52:02 -05:00
Mathieu Rene
5b36aea097 Missed one in e8ae13a8 2011-08-15 17:31:15 +02: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