mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
Merge commit 'c541a44e029e8a4f21db028c34fee3ad1c10a409'
* commit 'c541a44e029e8a4f21db028c34fee3ad1c10a409': Revert "rtmpproto: Don't include a client version in the unencrypted C1 handshake" Merged-by: Clément Bœsch <u@pkh.me>
This commit is contained in:
commit
4e43c6df54
@ -1228,7 +1228,10 @@ static int rtmp_handshake(URLContext *s, RTMPContext *rt)
|
|||||||
uint8_t tosend [RTMP_HANDSHAKE_PACKET_SIZE+1] = {
|
uint8_t tosend [RTMP_HANDSHAKE_PACKET_SIZE+1] = {
|
||||||
3, // unencrypted data
|
3, // unencrypted data
|
||||||
0, 0, 0, 0, // client uptime
|
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 clientdata[RTMP_HANDSHAKE_PACKET_SIZE];
|
||||||
uint8_t serverdata[RTMP_HANDSHAKE_PACKET_SIZE+1];
|
uint8_t serverdata[RTMP_HANDSHAKE_PACKET_SIZE+1];
|
||||||
|
Loading…
Reference in New Issue
Block a user