-
Notifications
You must be signed in to change notification settings - Fork 844
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
renameIceURLs causes issue on firefox #40
Comments
iceServers shouldn't have a no-longer-spec .url set. Possibly the code could warn there but Chrome would still accept it without warning so I am not sure how useful that is. |
I do not follow here, where is renameIceURLs call made and where does the code live? I'm lost.... |
Ping? |
This was in an older version of adapter.js but can now be closed as it's no longer relevant Regards |
I see, thanks for your response! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi.
The renameIceURLs call causes issues on firefox in the following code:
config.iceServers.forEach(function (server) {
server.url = server.urls;
delete server.urls;
});
Basically, if the iceServers ALREADY only has server.url then this is wiped out and is set to undefined.
To put it another way, if the entry does not have 'urls' but is already defined as 'url' in the config then this buggers it up..
The correct way to do this should have been server.usr = server.url || server.urls where server.url take precedence
Regards
The text was updated successfully, but these errors were encountered: