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

upgrade to pion/webrtc v4 #3213

Merged
merged 2 commits into from
Nov 28, 2024
Merged

upgrade to pion/webrtc v4 #3213

merged 2 commits into from
Nov 28, 2024

Conversation

cnderrauber
Copy link
Contributor

No description provided.

@cnderrauber cnderrauber requested a review from a team November 28, 2024 07:49
case webrtc.PeerConnectionStateClosed:
// peerconnection closed by client
if !t.isClosed.Load() {
t.params.Handler.OnClosed()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pion v4 will fire Closed state for client close peerconnection actively and no failed state in this case, handle it to close the participant.

Copy link
Contributor

@boks1971 boks1971 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@cnderrauber cnderrauber merged commit 54f9f7d into master Nov 28, 2024
2 checks passed
@cnderrauber cnderrauber deleted the jie_pion_v4 branch November 28, 2024 08:05
Mahdi-zarei pushed a commit to itzloop/livekit that referenced this pull request Dec 21, 2024
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