rtmp: Do not send the first field twice within the handshake
This commit is contained in:
parent
666ed7eda1
commit
fe0337e89b
@ -1349,7 +1349,7 @@ static int rtmp_send_hs_packet(RTMPContext* rt, uint32_t first_int,
|
|||||||
int inoutsize;
|
int inoutsize;
|
||||||
|
|
||||||
AV_WB32(arraydata, first_int);
|
AV_WB32(arraydata, first_int);
|
||||||
AV_WB32(arraydata + 4, first_int);
|
AV_WB32(arraydata + 4, second_int);
|
||||||
inoutsize = ffurl_write(rt->stream, arraydata,
|
inoutsize = ffurl_write(rt->stream, arraydata,
|
||||||
RTMP_HANDSHAKE_PACKET_SIZE);
|
RTMP_HANDSHAKE_PACKET_SIZE);
|
||||||
if (inoutsize != RTMP_HANDSHAKE_PACKET_SIZE) {
|
if (inoutsize != RTMP_HANDSHAKE_PACKET_SIZE) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user