On Fri, 13 Sep 2013, Luca Barbato wrote:

---

Martin can you confirm?

libavformat/rtmpproto.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
index fe1cd8f..2d69b6b 100644
--- a/libavformat/rtmpproto.c
+++ b/libavformat/rtmpproto.c
@@ -1345,7 +1345,7 @@ static int rtmp_send_hs_packet(RTMPContext* rt, uint32_t 
first_int,
    int inoutsize;

    AV_WB32(arraydata, first_int);
-    AV_WB32(arraydata + 4, first_int);
+    AV_WB32(arraydata + 4, second_int);
    inoutsize = ffurl_write(rt->stream, arraydata,
                            RTMP_HANDSHAKE_PACKET_SIZE);
    if (inoutsize != RTMP_HANDSHAKE_PACKET_SIZE) {
--
1.8.3.2

Probably ok - it seems like this works just as well (or just as bad) with both streaming from an actual flash client and from wirecast both before and after this patch - both of them do complete the handshake though.

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to