what is adapter.js

JavaScript
/*adapter. js is a shim to insulate apps from spec changes and prefix differences.
Today, adapter. js aims to fill the gaps and differences across all browsers
supporting.*/

to add it
<script src="https://webrtc.github.io/adapter/adapter-latest.js"></script>
Source

Also in JavaScript: