Support old devices with WebRTC adapter
QUANTEEC uses WebRTC for peer-to-peer connections. However, some old devices may not support the latest WebRTC features (like old SmartTVs). In order to support these devices, it is possible to use a WebRTC adapter. The WebRTC adapter is a library that provides compatibility for different browsers and devices.
The WebRTC Adapter can be found here : https://github.com/webrtcHacks/adapter
To test the WebRTC adapter with QUANTEEC, you need to include the adapter script before including the QUANTEEC script in your HTML file.
<script src="https://webrtc.github.io/adapter/adapter-latest.js"></script>
<script src="https://files.quanteec.com/quanteec/latest/quanteec-hlsjs.min.js"></script>
For a more resilient integration, you can use the npm package of the WebRTC adapter and specify a version. You can install it using npm:
npm install --save webrtc-adapter@9.0.3
The documentation is available here : https://www.npmjs.com/package/webrtc-adapter