mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-25 20:27:34 +08:00
srt is player stop handleshake timert
This commit is contained in:
parent
f9f6fd136a
commit
67ad2a49c3
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user