diff options
Diffstat (limited to 'src/usr/local/share/protocols/rtmp.pat')
-rw-r--r-- | src/usr/local/share/protocols/rtmp.pat | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/usr/local/share/protocols/rtmp.pat b/src/usr/local/share/protocols/rtmp.pat new file mode 100644 index 0000000..2c7adad --- /dev/null +++ b/src/usr/local/share/protocols/rtmp.pat @@ -0,0 +1,13 @@ +# Adobe Real Time Messaging Protocol(RTMP). By Jonathan A.P. Marpaung +# Pattern attributes: works very fast +# Protocol Groups: streaming_video streaming_audio +# The RTMP Specification is availabe at +# http://www.adobe.com/devnet/rtmp/pdf/rtmp_specification_1.0.pdf [^] +# +# First 12 bytes, starting at \x03 are the RTMP header. Next 25 bytes, +# starting at \x02, are part of the RTMP body which is an AMF Object. +# The first string "connect" is a command of the NetConnection class object. +# The next string "app" is a Command Object which is followed by values +# such as "video", . +rtmp +^\x03.+\x14.+\x02.+\x07.(connect)?.+(app)? |