Skip to content

fix: Allow readding removed streams/tracks#20

Merged
moufmouf merged 1 commit intomasterfrom
allow-readding-track
Mar 16, 2026
Merged

fix: Allow readding removed streams/tracks#20
moufmouf merged 1 commit intomasterfrom
allow-readding-track

Conversation

@moufmouf
Copy link
Copy Markdown
Collaborator

The original simple-peer library does not allow re-adding a removed peer. It throws a "Track has been removed. You should enable/disable tracks that you want to re-add."

It's a nudge for developers but in specific scenarios, it can be more of a problem than a helper. We remove this nudge and allow readding removed streams/tracks.

The original simple-peer library does not allow re-adding a removed peer.
It throws a "Track has been removed. You should enable/disable tracks that you want to re-add."

It's a nudge for developers but in specific scenarios, it can be more of a problem than a helper.
We remove this nudge and allow readding removed streams/tracks.
@moufmouf moufmouf merged commit a2955ae into master Mar 16, 2026
1 check passed
@moufmouf moufmouf deleted the allow-readding-track branch March 16, 2026 16:41
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.

1 participant