Skip to content

fix: close the peer of a WHIP or WHEP session that fails to start - #426

Merged
devopvoid merged 1 commit into
mainfrom
fix/whip-failed-publish-peer
Oct 23, 2026
Merged

devopvoid merged 1 commit into
mainfrom
fix/whip-failed-publish-peer

Conversation

@devopvoid

Copy link
Copy Markdown
Owner

A publish with a track of another runtime threw, but left its peer in rtc.peers(). Whip now checks the tracks before it creates the peer, and Whip and Whep close the peer when anything throws before the session takes it over.

Whip checks the tracks before it creates the peer, and both close the peer when anything throws before the session takes it over.
@devopvoid
devopvoid merged commit 81a3337 into main Oct 23, 2026
22 checks passed
@devopvoid
devopvoid deleted the fix/whip-failed-publish-peer branch October 23, 2026 17:17
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