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

Make sure we free dynamic media ports on client disconnect/disappear #38

Open
kristiankielhofner opened this issue Apr 7, 2023 · 1 comment

Comments

@kristiankielhofner
Copy link
Contributor

Given the nature of webrtc and the support for those clients the ability for AIA to support $NUM clients is dependent on having free dynamic media ports available. We need to make sure when a datachannel connection closes that we free it and the port it has allocated for the multiplexed UDP session.

@kristiankielhofner
Copy link
Contributor Author

kristiankielhofner commented Apr 7, 2023

From what I can tell it seems we allocate/listen on the entire defined range on init? Definitely could be wrong...

Usually that's not "how things are done" with dynamic, negotiated media ports in the real time communications space. Ideally we'd keep track of the pool, negotiated ports in use, and then allocate them with the creation of the session and free them at termination of session.

I'm also starting to wonder if this could possibly be related to the "cross-talk" issues Eric discovered...

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

No branches or pull requests

1 participant