Temasys / AdapterJS

AdapterJS Javascript Polyfill and Tools for WebRTC - Skylink WebRTC
http://skylink.io/web
Other
432 stars 100 forks source link

MS Edge support? #213

Closed igorpavlov-zz closed 8 years ago

igorpavlov-zz commented 8 years ago

Any roadmap on MS Edge Support?

johache commented 8 years ago

Hi,

If you check this branch, you'll see that we started working on updating AJS dependency to the webtc-adapter repo: https://github.com/Temasys/AdapterJS/tree/AJS-269-webrtc-adapter-update This should bring significant improvement to the Edge support.

Unfortunately it seems like the update broke our test system (I think it comes from the browserify system in webrtc-adapter). Hopefully, I can work this out in the next 10 days.

If you want to have a look on your own, or provide any feedback regarding the issue, you are welcome to do so.

Cheers, J-O

igorpavlov-zz commented 8 years ago

I compiled the adapter with grunt and it seems that the createIceServer() function does not exists in Edge. Is this expected?

johache commented 8 years ago

Hi,

createIceServer and createIceServers are indeed missing. As I said last time, this is a WIP.

Each browser gets its own implementation of those function, so we need to re-implement it for Edge (should not be super complicated)

igorpavlov-zz commented 8 years ago

Hi @johache ! Is there any news on the update, we are looking forward to it soooo much! :) Any info on the status will be very very appreciated!

igorpavlov-zz commented 8 years ago

Hello! Are there any updates on the status?

johache commented 8 years ago

Hi, A couple of issues :

If you have the time, feel free to make a PR into AJS-269-webrtc-adapter-update-v2.0.2. My guess is that the code should mainly be copied from the Chrome and FF implementation.

Sorry for the delay...

johache commented 8 years ago

FYI, a big merge was just done in AJS, and it should lead to a greater support for Edge. You can already access it on our dev branch, and it will probably be released next week.

igorpavlov-zz commented 8 years ago

Great news! Thank you very much for the update.

transonly commented 8 years ago

Trying to find this dev branch. :-) Where is it?

This one? https://raw.githubusercontent.com/Temasys/AdapterJS/development/source/adapter.js

johache commented 8 years ago

https://github.com/Temasys/AdapterJS/tree/development. You will need to build using npm and grunt.

johache commented 8 years ago

Hi all, There was a big Edge support release today (0.14.0).

I'll close this issue. Cheers

igorpavlov-zz commented 8 years ago

Hey! Fantastic news.

Just tried to test 0.14.0, but it still says createIceServer is null in Edge.

I am using this file https://github.com/Temasys/AdapterJS/blob/master/publish/adapter.min.js

Am I doing something wrong?

johache commented 8 years ago

No, that is expected. CreateIceServer was removed from webrtc-adapter. We copied the old implementation for Chrome, FF, and Safari (so that existing implementations would not break), but did not add an implementation for Edge yet.

igorpavlov-zz commented 8 years ago

Thank you. I am now getting an error here (Chrome, FF, Safari, Opera work fine):

SCRIPT5007: Object expected adapter.js (873,8)

adapter.js - https://gist.github.com/igorpavlov/4caaa8243e8ec6d6622bb52dde1b7a7d

I tried to understand what actually happens - but no luck. Any ideas?

(P.S. I accidentally put a wrong line, it is 873, not 837. Hopefully this didn't produce an inconvenience)