1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-15 04:42:04 +00:00

SquashSRS4: Fix RTC connection dispose bug

This commit is contained in:
winlin 2021-04-06 10:51:42 +08:00
parent 4871c616b8
commit 55426c6331

View file

@ -2139,6 +2139,11 @@ srs_error_t SrsRtcConnection::on_connection_established()
{
srs_error_t err = srs_success;
// Ignore if disposing.
if (disposing_) {
return err;
}
// If DTLS done packet received many times, such as ARQ, ignore.
if(ESTABLISHED == state_) {
return err;