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:
parent
4871c616b8
commit
55426c6331
1 changed files with 5 additions and 0 deletions
|
@ -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 a new issue