mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: Fix RTC connection dispose bug
This commit is contained in:
parent
db7e820f04
commit
061f367a82
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…
Add table
Add a link
Reference in a new issue