rtmpproto: Don't include a client version in the unencrypted C1 handshake
authorMartin Storsjö <martin@martin.st>
Fri, 14 Oct 2016 12:55:52 +0000 (15:55 +0300)
committerMartin Storsjö <martin@martin.st>
Fri, 14 Oct 2016 20:11:19 +0000 (23:11 +0300)
commit7d8d726be7dc46343ab1c98c339c1ed44bcb07c1
tree4b5c58b197bd7bc064a093f4202c771c795f1277
parent9f23f77a532ca9c2b7dc4b5328bc413e4f6f5b56
rtmpproto: Don't include a client version in the unencrypted C1 handshake

According to the public RTMP specification, these 4 bytes should
be zero.

librtmp in server mode assumes that the RTMPE (FP9) handshake is
used if these bytes are nonzero.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtmpproto.c