Browse Source

Revert "rtmpproto: Don't include a client version in the unencrypted C1 handshake"

This reverts commit 7d8d726be7.
tags/n3.3
Luca Barbato 8 years ago
parent
commit
c541a44e02
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      libavformat/rtmpproto.c

+ 4
- 1
libavformat/rtmpproto.c View File

@@ -1198,7 +1198,10 @@ static int rtmp_handshake(URLContext *s, RTMPContext *rt)
uint8_t tosend [RTMP_HANDSHAKE_PACKET_SIZE+1] = {
3, // unencrypted data
0, 0, 0, 0, // client uptime
0, 0, 0, 0, // zeros
RTMP_CLIENT_VER1,
RTMP_CLIENT_VER2,
RTMP_CLIENT_VER3,
RTMP_CLIENT_VER4,
};
uint8_t clientdata[RTMP_HANDSHAKE_PACKET_SIZE];
uint8_t serverdata[RTMP_HANDSHAKE_PACKET_SIZE+1];


Loading…
Cancel
Save