-
-
Couldn't load subscription status.
- Fork 99
feat: support multiple juice_mux_listen callbacks for different ports #292
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
feat: support multiple juice_mux_listen callbacks for different ports #292
Conversation
1ffd80c to
23f93a4
Compare
Supports multiple callbacks for unhandled STUN requests. Stores multiple registries, one per local listening port in a `conn_registry_t **registries;` field on `conn_mode_entry_t`. The list of registries grows in the same way as the list of agents in `conn_mode_entry_t`. Adds a `port` property to `conn_registry_t` which is the port the registry is bound to, and an `index` property which is the index of the registry in the containing `registries` list in `conn_mode_entry_t`.
23f93a4 to
d1893a8
Compare
|
@paullouisageneau are there any further changes you'd like to see here or is this ready to go in? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, the implementation moved to mux looks good, I just have a few comments.
|
@paullouisageneau All comments addressed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, it looks good!
|
Thank you for merging this - will it make it into a release soon? |
|
@paullouisageneau could this please be released? It would be really great to roll it up to paullouisageneau/libdatachannel#1211 and draw a line under all this. |
Follow up to #248 that addresses #248 (comment)
Supports multiple callbacks for unhandled STUN requests, one per listening address (e.g. host + port).
Stores multiple registries, one per local listening address in a
conn_registry_t **registries;field onconn_mode_entry_t.The list of registries grows in the same way as the list of agents in
conn_mode_entry_t.Adds an
addressproperty toconn_registry_twhich is the host+port the registry is bound to, and aregistry_indexproperty which is the index of the registry in the containingregistrieslist inconn_mode_entry_t.