mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
parent
3ffb0980f5
commit
b21f92f97a
12 changed files with 62 additions and 67 deletions
|
@ -417,11 +417,6 @@ int SrsRtspConn::cycle()
|
|||
srs_warn("client disconnect peer. ret=%d", ret);
|
||||
}
|
||||
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
void SrsRtspConn::on_thread_stop()
|
||||
{
|
||||
if (video_rtp) {
|
||||
caster->free_port(video_rtp->port(), video_rtp->port() + 1);
|
||||
}
|
||||
|
@ -431,6 +426,8 @@ void SrsRtspConn::on_thread_stop()
|
|||
}
|
||||
|
||||
caster->remove(this);
|
||||
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
int SrsRtspConn::on_rtp_video(SrsRtpPacket* pkt, int64_t dts, int64_t pts)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue