SquashSRS4: Fix RTC connection dispose bug
This commit is contained in:
parent
4871c616b8
commit
55426c6331
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user