Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed _removeConnection where connection was removed but id remained … #860

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

SharkSharp
Copy link

@SharkSharp SharkSharp commented Jun 4, 2021

In _removeConnection, when the connection is removed, it is not checked if there are still active connections on that id, thus leaving an id with no connections in the connection list, which seems wrong to me

In negotiator, when peerConnection.iceConnectionState becomes "disconnected" the method this.connection.close(); is not called, giving no close event in the connection, which seems wrong to me

Signed-off-by: Arthur Frederico Neves arthurfred.neves@gmail.com

…empty in connection list

Signed-off-by: Arthur Frederico Neves <arthurfred.neves@gmail.com>
….close(), not sending any event

Signed-off-by: Arthur Frederico Neves <arthurfred.neves@gmail.com>
jonasgloning added a commit that referenced this pull request May 25, 2022
github-actions bot pushed a commit that referenced this pull request May 25, 2022
## [1.4.6-rc.1](v1.4.5...v1.4.6-rc.1) (2022-05-25)

### Bug Fixes

* `close` event was not triggered reliably ([#860](#860)) ([ec1d5ae](ec1d5ae)), closes [#636](#636)

### Performance Improvements

* **turn:** reduce turn server count ([8816f54](8816f54))
@jonasgloning
Copy link
Member

Hey @SharkSharp, thanks for the PR!
Currently testing on the rc branch.

jonasgloning pushed a commit that referenced this pull request May 25, 2022
## [1.4.6-rc.1](v1.4.5...v1.4.6-rc.1) (2022-05-25)

### Bug Fixes

* `close` event was not triggered reliably ([#860](#860)) ([ec1d5ae](ec1d5ae)), closes [#636](#636)

### Performance Improvements

* **turn:** reduce turn server count ([8816f54](8816f54))
jonasgloning added a commit that referenced this pull request Jun 8, 2022
This reverts commit ec1d5ae, reversing
changes made to 8816f54.
github-actions bot pushed a commit that referenced this pull request Feb 25, 2023
## [1.4.8-rc.1](v1.4.7...v1.4.8-rc.1) (2023-02-25)

### Bug Fixes

* `close` event was not triggered reliably ([#860](#860)) ([ec1d5ae](ec1d5ae)), closes [#636](#636)
* **datachannel:** sending order is now preserved correctly ([18d491a](18d491a)), closes [#746](#746)
* **deps:** update dependency @swc/helpers to ^0.4.0 ([a7de8b7](a7de8b7))
* **deps:** update dependency eventemitter3 to v5 ([caf01c6](caf01c6))
* **deps:** update dependency webrtc-adapter to v8 ([431f00b](431f00b))
* **npm audit:** Updates all dependencies that cause npm audit to issue a warning ([6ef5707](6ef5707))
github-actions bot pushed a commit that referenced this pull request Dec 3, 2023
## [1.5.2-rc.1](v1.5.1...v1.5.2-rc.1) (2023-12-03)

### Bug Fixes

* `close` event was not triggered reliably ([#860](#860)) ([ec1d5ae](ec1d5ae)), closes [#636](#636)
* **datachannel:** sending order is now preserved correctly ([18d491a](18d491a)), closes [#746](#746)
* support Blobs nested in objects ([7956dd6](7956dd6)), closes [#1163](#1163)
github-actions bot pushed a commit that referenced this pull request Apr 27, 2024
## [1.5.3-rc.1](v1.5.2...v1.5.3-rc.1) (2024-04-27)

### Bug Fixes

* `close` event was not triggered reliably ([#860](#860)) ([ec1d5ae](ec1d5ae)), closes [#636](#636)
* **datachannel:** sending order is now preserved correctly ([18d491a](18d491a)), closes [#746](#746)
* navigator is not defined ([305a180](305a180))
* navigator is not defined. ([6f85dd3](6f85dd3))
* remove need for `unsafe-eval` ([f1857fe](f1857fe))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants