-
Notifications
You must be signed in to change notification settings - Fork 846
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
Only filter 'turns:' and turn/stun with ipv6 #963
Conversation
Any comments on this? |
Sorry for the delay! Getting definite information about the behaviour of all this is a bit complicated (see also #911 and to make things worse there is another copy of the filter in https://github.com/otalk/rtcpeerconnection-shim which may have hidden issues depending on how you tested. I'll see if I can make time to do testing on browserstack (which hopefully still offers free Edge testing) |
Well, first of all, i even didn't know there's a copy/separate shim implementation (based on adapter.js). But all my tests (which were done with the help of browserstack) have been done against the current adapter.js release. To figure that simply filtering 'turns' is enough i wrote up a small js demo for edge purely on the ORTC api. |
I think it would be useful if adapter would log a warning in the console in case it strips a URL. |
this is so fucked up. Version: 44.17763.1.0 Because if I pass : If I pass both with adapter 7.2.4 they get filtered out If I pass
with both adapter and without it works If i pass:
without adapter: works Sorry, @fippo I know this question was asked 1000 times |
There is https://github.com/aboba/edgertc but this part is not documented. The situation is pretty complicated... stun urls are supposed to be ignored but that only works in some versions and depending on how exactly they look (e.g. include port and transport)
Passing the first to the raw ice gatherer (along with
Right, that is supposed to work and you get a relay candidate and a srflx candidate. And a tcp srflx which is... not actually working.
but do you get relay candidates? I don't so filtering does not do any harm. Now in addition to that some versions of Edge require Its somewhat hard to do the right thing that works in any version. |
this makes me so sad... |
Just as a thought to all of this (MS caused) mess: Do you really need to support ancient versions of Edge? Without any doubt older version of Edge might behave strangely on this. But hey, that's MS and we all know them well ;) |
overtaken by events. |
Description
This PR should fix the filter function properly. It was tested against Edge 15/16/17/18. In all 4 version only the turns: protocol turned out to be not supported by edge (throwing an exception).
Also the stun protocol seems to be supported, at least no exception and everything works as expected.
Purpose
Should make the filterfunction not so restrictive.