1
|
# Adobe Real Time Messaging Protocol(RTMP). By Jonathan A.P. Marpaung
|
2
|
# Pattern attributes: works very fast
|
3
|
# Protocol Groups: streaming_video streaming_audio
|
4
|
# The RTMP Specification is availabe at
|
5
|
# http://www.adobe.com/devnet/rtmp/pdf/rtmp_specification_1.0.pdf [^]
|
6
|
#
|
7
|
# First 12 bytes, starting at \x03 are the RTMP header. Next 25 bytes,
|
8
|
# starting at \x02, are part of the RTMP body which is an AMF Object.
|
9
|
# The first string "connect" is a command of the NetConnection class object.
|
10
|
# The next string "app" is a Command Object which is followed by values
|
11
|
# such as "video", .
|
12
|
rtmp
|
13
|
^\x03.+\x14.+\x02.+\x07.(connect)?.+(app)?
|