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

Expose PeerConnectionState for monitoring #4

Merged
merged 10 commits into from
Sep 30, 2024
Merged

Expose PeerConnectionState for monitoring #4

merged 10 commits into from
Sep 30, 2024

Conversation

poshcoe
Copy link
Collaborator

@poshcoe poshcoe commented Sep 30, 2024

  • Adds a new async state_change method to the PeerConnectionExt trait. This method can be awaited to receive WebRTC state changes and act accordingly (Closes Question: How to time out a connection? #3).
  • Several trait methods now only require an immutable borrow thanks to use of flume across both native and web.
  • Updated dependencies to latest versions, and removed patch version specifications.
  • Updated signalling-peer example to use new state_change method to implement a single-threaded concurrent task for connection monitoring and recovery.

@poshcoe poshcoe merged commit e699204 into main Sep 30, 2024
4 checks passed
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.

Question: How to time out a connection?
1 participant