eface2face / rtcninja.js

WebRTC library to make media management easier across different browsers.
MIT License
73 stars 23 forks source link

Fixed compatibility with node-webkit #12

Closed odombrovskyi-dev closed 9 years ago

odombrovskyi-dev commented 9 years ago

Node webkit has a little bit different context workflow. Currently variable _navigator is undefined, because global.navigator doesn't exist. This fix checks also global.window where navigator object stores in node-webkit.