-
We're looking into using bidir connections for a project because of firewall issues for callback proxies. This works fine, following your docs, but the issue is that we will encounter older clients that are not aware that the server wants to use bidir connections. As per the documentation, this doesn't work:
..which is exactly what happens when an older client connects. My question: is there is a way that server-side could detect whether the client has sent us a callback proxy that is bidir-enabled? That way, for older clients the server could just not setup for bidir proxies, and things would work as before (if the firewall permits). Cheers!
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi Rob, You can check the proxy endpoints to handle the situation where older clients are unaware of bidirectional connections. Older clients will send proxies containing endpoints, while proxies sent by new clients will not contain endpoints. You can use the Cheers, |
Beta Was this translation helpful? Give feedback.
Hi Rob,
You can check the proxy endpoints to handle the situation where older clients are unaware of bidirectional connections. Older clients will send proxies containing endpoints, while proxies sent by new clients will not contain endpoints.
You can use the
ice_getEndpoints
proxy method to determine if the proxy contains endpoints.Cheers,
Jose