1. Download the AdapterJS file

Download the preferred version of the AdapterJS file from here - https://github.com/Temasys/AdapterJS/releases.

If you are a SkylinkJS developer, we recommend using the AdapterJS version that the release is tested to be compatible with. This information can be found here.

The file that needs to be edited is adapter.screenshare.js 

2. Download the detectRTC file and Chrome extension

The detectRTC.html can be downloaded from here - https://cdn.temasys.com.sg/skylink/extensions/detectRTC.html. Please note that this is a version customised by Temasys that includes speed optimisations

3. Set it up

In your adapter.screenshare.js file, go to the following line (this for example in version 0.13.4):


if (window.webrtcDetectedBrowser === 'chrome') {

    var iframe = document.createElement('iframe');


    iframe.onload = function() {

      iframe.isLoaded = true;



    iframe.src = '<% replace the current link with your detectRTC.html file %>';

    iframe.style.display = 'none';


    (document.body || document.documentElement).appendChild(iframe);

In your detectRTC.html file, go to the follow line:

getChromeExtensionStatus: function(callback, customExtensionId) {

  var extensionid = '<% replace with your extension id in the chrome web store %>',

      extensionInstalledTimeout = null,

      checkTerminated = false;