Links

Webrtc-Adapter

WebRTC continues to develop towards an evolving standard, requiring some additional leg work to use it in projects. In yet another attempt at bridging that gap, I’ve been working on maintaining an adapter lessening some of the deviation from standard in current browsers.

https://www.npmjs.org/package/webrtc-adapter

It currently fixes

  • Response of format of getStats in Chrome
  • Translation to ‘url’ from the standard ‘urls’ when configuration is passed to Firefox
  • Emission of the ‘negotiationneeded’ event when a data channel is created in Firefox

The main hope is that this will be easier to include in projects than previous attempts.