From 67ad2a49c36ac2181e3c2812649fa8222605d6b5 Mon Sep 17 00:00:00 2001 From: xiongguangjie Date: Sat, 27 Aug 2022 15:18:32 +0800 Subject: [PATCH] srt is player stop handleshake timert --- srt/SrtTransport.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srt/SrtTransport.cpp b/srt/SrtTransport.cpp index 398486da..ba688af1 100644 --- a/srt/SrtTransport.cpp +++ b/srt/SrtTransport.cpp @@ -246,6 +246,10 @@ void SrtTransport::handleHandshakeConclusion(HandshakePacket &pkt, struct sockad _send_packet_seq_number = _init_seq_number; _buf_delay = delay; onHandShakeFinished(_stream_id, addr); + + if(!isPusher()){ + _handleshake_timer.reset(); + } } else { if(_handleshake_res->handshake_type == HandshakePacket::HS_TYPE_CONCLUSION){ if(_handleshake_res->dst_socket_id != pkt.srt_socket_id){